fvbasefdlocallinearizer.hh
Go to the documentation of this file.
78 static constexpr type value = std::max<type>(0.9123e-10, std::numeric_limits<type>::epsilon()*1.23e3);
152 using ScalarMatrixBlock = typename GetPropType<TypeTag, Properties::SparseMatrixAdapter>::MatrixBlock;
Calculates the Jacobian of the local residual for finite volume spatial discretizations using a finit... Definition: fvbasefdlocallinearizer.hh:136 const Implementation & asImp_() const Definition: fvbasefdlocallinearizer.hh:325 LocalEvalBlockVector derivResidual_ Definition: fvbasefdlocallinearizer.hh:515 void evalPartialDerivative_(ElementContext &elemCtx, unsigned dofIdx, unsigned pvIdx) Compute the partial derivatives of a context's residual functions. Definition: fvbasefdlocallinearizer.hh:416 void linearize(const Element &element) Compute an element's local Jacobian matrix and evaluate its residual. Definition: fvbasefdlocallinearizer.hh:217 Scalar numericEpsilon(const ElementContext &elemCtx, unsigned dofIdx, unsigned pvIdx) const Returns the epsilon value which is added and removed from the current solution. Definition: fvbasefdlocallinearizer.hh:279 LocalResidual localResidual_ Definition: fvbasefdlocallinearizer.hh:518 static Scalar baseEpsilon() Returns the unweighted epsilon value used to calculate the local derivatives. Definition: fvbasefdlocallinearizer.hh:265 void updateLocalJacobian_(const ElementContext &elemCtx, unsigned focusDofIdx, unsigned pvIdx) Updates the current local Jacobian matrix with the partial derivatives of all equations for primary v... Definition: fvbasefdlocallinearizer.hh:492 const Model & model_() const Definition: fvbasefdlocallinearizer.hh:332 ScalarLocalBlockMatrix jacobian_ Definition: fvbasefdlocallinearizer.hh:516 static int numericDifferenceMethod_() Returns the numeric difference method which is applied. Definition: fvbasefdlocallinearizer.hh:338 ElementContext * internalElemContext_ Definition: fvbasefdlocallinearizer.hh:512 const ScalarMatrixBlock & jacobian(unsigned domainScvIdx, unsigned rangeScvIdx) const Returns the local Jacobian matrix of the residual of a sub-control volume. Definition: fvbasefdlocallinearizer.hh:311 ~FvBaseFdLocalLinearizer() Definition: fvbasefdlocallinearizer.hh:178 static void registerParameters() Register all run-time parameters for the local jacobian. Definition: fvbasefdlocallinearizer.hh:184 const Simulator & simulator_() const Definition: fvbasefdlocallinearizer.hh:328 const LocalResidual & localResidual() const Return reference to the local residual. Definition: fvbasefdlocallinearizer.hh:300 Simulator * simulatorPtr_ Definition: fvbasefdlocallinearizer.hh:509 void init(Simulator &simulator) Initialize the local Jacobian object. Definition: fvbasefdlocallinearizer.hh:199 const ScalarVectorBlock & residual(unsigned dofIdx) const Returns the local residual of a sub-control volume. Definition: fvbasefdlocallinearizer.hh:319 const Problem & problem_() const Definition: fvbasefdlocallinearizer.hh:330 LocalEvalBlockVector residual_ Definition: fvbasefdlocallinearizer.hh:514 void linearize(ElementContext &elemCtx, const Element &elem) Compute an element's local Jacobian matrix and evaluate its residual. Definition: fvbasefdlocallinearizer.hh:236 void reset_(const ElementContext &elemCtx) Reset the all relevant internal attributes to 0. Definition: fvbasefdlocallinearizer.hh:362 LocalResidual & localResidual() Return reference to the local residual. Definition: fvbasefdlocallinearizer.hh:294 void resize_(const ElementContext &elemCtx) Resize all internal attributes to the size of the element. Definition: fvbasefdlocallinearizer.hh:348 Implementation & asImp_() Definition: fvbasefdlocallinearizer.hh:323 FvBaseFdLocalLinearizer() Definition: fvbasefdlocallinearizer.hh:174 Declare the properties used by the infrastructure code of the finite volume discretizations. Definition: blackoilnewtonmethodparameters.hh:31 Definition: blackoilmodel.hh:72 Definition: blackoilboundaryratevector.hh:37 typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(.... Definition: propertysystem.hh:235 This file provides the infrastructure to retrieve run-time parameters. The Opm property system, traits with inheritance. Specify which kind of method should be used to numerically calculate the partial derivatives of the r... Definition: fvbasefdlocallinearizer.hh:92 static constexpr int value Definition: fvbasefdlocallinearizer.hh:92 GetPropType< TypeTag, Properties::Scalar > type Definition: fvbasefdlocallinearizer.hh:77 Definition: fvbasefdlocallinearizer.hh:62 GetPropType< TypeTag, Properties::Scalar > type Definition: fvbasefdlocallinearizer.hh:71 Representation of a function evaluation and all necessary derivatives with regard to the intensive qu... Definition: fvbaseproperties.hh:66 Definition: fvbasefdlocallinearizer.hh:58 a tag to mark properties as undefined Definition: propertysystem.hh:40 |