fvbasefdlocallinearizer.hh
Go to the documentation of this file.
83struct NumericDifferenceMethod<TypeTag, TTag::FiniteDifferenceLocalLinearizer> { static constexpr int value = +1; };
90 static constexpr type value = std::max<type>(0.9123e-10, std::numeric_limits<type>::epsilon()*1.23e3);
151 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:135 const Implementation & asImp_() const Definition: fvbasefdlocallinearizer.hh:324 LocalEvalBlockVector derivResidual_ Definition: fvbasefdlocallinearizer.hh:511 void evalPartialDerivative_(ElementContext &elemCtx, unsigned dofIdx, unsigned pvIdx) Compute the partial derivatives of a context's residual functions. Definition: fvbasefdlocallinearizer.hh:412 void linearize(const Element &element) Compute an element's local Jacobian matrix and evaluate its residual. Definition: fvbasefdlocallinearizer.hh:216 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:278 LocalResidual localResidual_ Definition: fvbasefdlocallinearizer.hh:514 static Scalar baseEpsilon() Returns the unweighted epsilon value used to calculate the local derivatives. Definition: fvbasefdlocallinearizer.hh:264 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:488 const Model & model_() const Definition: fvbasefdlocallinearizer.hh:331 ScalarLocalBlockMatrix jacobian_ Definition: fvbasefdlocallinearizer.hh:512 static int numericDifferenceMethod_() Returns the numeric difference method which is applied. Definition: fvbasefdlocallinearizer.hh:337 ElementContext * internalElemContext_ Definition: fvbasefdlocallinearizer.hh:508 const ScalarMatrixBlock & jacobian(unsigned domainScvIdx, unsigned rangeScvIdx) const Returns the local Jacobian matrix of the residual of a sub-control volume. Definition: fvbasefdlocallinearizer.hh:310 ~FvBaseFdLocalLinearizer() Definition: fvbasefdlocallinearizer.hh:177 static void registerParameters() Register all run-time parameters for the local jacobian. Definition: fvbasefdlocallinearizer.hh:183 const Simulator & simulator_() const Definition: fvbasefdlocallinearizer.hh:327 const LocalResidual & localResidual() const Return reference to the local residual. Definition: fvbasefdlocallinearizer.hh:299 Simulator * simulatorPtr_ Definition: fvbasefdlocallinearizer.hh:505 void init(Simulator &simulator) Initialize the local Jacobian object. Definition: fvbasefdlocallinearizer.hh:198 const ScalarVectorBlock & residual(unsigned dofIdx) const Returns the local residual of a sub-control volume. Definition: fvbasefdlocallinearizer.hh:318 const Problem & problem_() const Definition: fvbasefdlocallinearizer.hh:329 LocalEvalBlockVector residual_ Definition: fvbasefdlocallinearizer.hh:510 void linearize(ElementContext &elemCtx, const Element &elem) Compute an element's local Jacobian matrix and evaluate its residual. Definition: fvbasefdlocallinearizer.hh:235 void reset_(const ElementContext &elemCtx) Reset the all relevant internal attributes to 0. Definition: fvbasefdlocallinearizer.hh:358 LocalResidual & localResidual() Return reference to the local residual. Definition: fvbasefdlocallinearizer.hh:293 void resize_(const ElementContext &elemCtx) Resize all internal attributes to the size of the element. Definition: fvbasefdlocallinearizer.hh:344 Implementation & asImp_() Definition: fvbasefdlocallinearizer.hh:322 FvBaseFdLocalLinearizer() Definition: fvbasefdlocallinearizer.hh:173 Declare the properties used by the infrastructure code of the finite volume discretizations. 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:242 This file provides the infrastructure to retrieve run-time parameters. The Opm property system, traits with inheritance. GetPropType< TypeTag, Properties::Scalar > type Definition: fvbasefdlocallinearizer.hh:89 Definition: fvbasefdlocallinearizer.hh:64 GetPropType< TypeTag, Properties::Scalar > type Definition: fvbasefdlocallinearizer.hh:73 Representation of a function evaluation and all necessary derivatives with regard to the intensive qu... Definition: fvbaseproperties.hh:83 The type of the local linearizer. Definition: fvbaseproperties.hh:114 Definition: fvbasefdlocallinearizer.hh:62 Definition: fvbasefdlocallinearizer.hh:58 a tag to mark properties as undefined Definition: propertysystem.hh:40 |