fvbasefdlocallinearizer.hh
Go to the documentation of this file.
160 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:144 const Implementation & asImp_() const Definition: fvbasefdlocallinearizer.hh:318 std::unique_ptr< ElementContext > internalElemContext_ Definition: fvbasefdlocallinearizer.hh:510 LocalEvalBlockVector derivResidual_ Definition: fvbasefdlocallinearizer.hh:513 void evalPartialDerivative_(ElementContext &elemCtx, unsigned dofIdx, unsigned pvIdx) Compute the partial derivatives of a context's residual functions. Definition: fvbasefdlocallinearizer.hh:414 void linearize(const Element &element) Compute an element's local Jacobian matrix and evaluate its residual. Definition: fvbasefdlocallinearizer.hh:209 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:271 LocalResidual localResidual_ Definition: fvbasefdlocallinearizer.hh:516 static Scalar baseEpsilon() Returns the unweighted epsilon value used to calculate the local derivatives. Definition: fvbasefdlocallinearizer.hh:257 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:491 const Model & model_() const Definition: fvbasefdlocallinearizer.hh:327 FvBaseFdLocalLinearizer(const FvBaseFdLocalLinearizer &)=delete ScalarLocalBlockMatrix jacobian_ Definition: fvbasefdlocallinearizer.hh:514 static int numericDifferenceMethod_() Returns the numeric difference method which is applied. Definition: fvbasefdlocallinearizer.hh:333 const ScalarMatrixBlock & jacobian(unsigned domainScvIdx, unsigned rangeScvIdx) const Returns the local Jacobian matrix of the residual of a sub-control volume. Definition: fvbasefdlocallinearizer.hh:303 static void registerParameters() Register all run-time parameters for the local jacobian. Definition: fvbasefdlocallinearizer.hh:177 FvBaseFdLocalLinearizer()=default const Simulator & simulator_() const Definition: fvbasefdlocallinearizer.hh:321 const LocalResidual & localResidual() const Return reference to the local residual. Definition: fvbasefdlocallinearizer.hh:292 Simulator * simulatorPtr_ Definition: fvbasefdlocallinearizer.hh:508 void init(Simulator &simulator) Initialize the local Jacobian object. Definition: fvbasefdlocallinearizer.hh:192 const ScalarVectorBlock & residual(unsigned dofIdx) const Returns the local residual of a sub-control volume. Definition: fvbasefdlocallinearizer.hh:311 const Problem & problem_() const Definition: fvbasefdlocallinearizer.hh:324 LocalEvalBlockVector residual_ Definition: fvbasefdlocallinearizer.hh:512 void linearize(ElementContext &elemCtx, const Element &elem) Compute an element's local Jacobian matrix and evaluate its residual. Definition: fvbasefdlocallinearizer.hh:228 void reset_(const ElementContext &elemCtx) Reset the all relevant internal attributes to 0. Definition: fvbasefdlocallinearizer.hh:357 LocalResidual & localResidual() Return reference to the local residual. Definition: fvbasefdlocallinearizer.hh:286 void resize_(const ElementContext &elemCtx) Resize all internal attributes to the size of the element. Definition: fvbasefdlocallinearizer.hh:343 Implementation & asImp_() Definition: fvbasefdlocallinearizer.hh:315 Declare the properties used by the infrastructure code of the finite volume discretizations. Declares the properties required by the black oil model. Definition: blackoilnewtonmethodparams.hpp:31 Definition: blackoilmodel.hh:79 Definition: blackoilboundaryratevector.hh:39 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:233 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:100 static constexpr int value Definition: fvbasefdlocallinearizer.hh:100 GetPropType< TypeTag, Properties::Scalar > type Definition: fvbasefdlocallinearizer.hh:84 Definition: fvbasefdlocallinearizer.hh:69 GetPropType< TypeTag, Properties::Scalar > type Definition: fvbasefdlocallinearizer.hh:78 Representation of a function evaluation and all necessary derivatives with regard to the intensive qu... Definition: fvbaseproperties.hh:66 Definition: fvbasefdlocallinearizer.hh:65 a tag to mark properties as undefined Definition: propertysystem.hh:38 |