DUNE PDELab (2.8)
Classes |
Public Types |
Public Member Functions |
Static Public Member Functions |
List of all members
Dune::PDELab::GridOperator< GFSU, GFSV, LOP, MB, DF, RF, JF, CU, CV > Class Template Reference
Standard grid operator implementation. More...
#include <dune/pdelab/gridoperator/gridoperator.hh>
Classes | |
struct | SetupGridOperator |
Public Types | |
typedef DefaultAssembler< GFSU, GFSV, CU, CV > | Assembler |
The global assembler type. | |
using | Domain = Dune::PDELab::Backend::Vector< GFSU, DF > |
The type of the domain (solution). | |
using | Range = Dune::PDELab::Backend::Vector< GFSV, RF > |
The type of the range (residual). | |
using | Jacobian = Dune::PDELab::Backend::Matrix< MB, Domain, Range, JF > |
The type of the jacobian. | |
typedef MB::template Pattern< Jacobian, GFSV, GFSU > | Pattern |
The sparsity pattern container for the jacobian matrix. | |
typedef DefaultLocalAssembler< GridOperator, LOP, GFSU::Traits::EntitySet::Partitions::partitionIterator()==InteriorBorder_Partition > | LocalAssembler |
The local assembler type. | |
typedef Dune::PDELab::GridOperatorTraits< GFSU, GFSV, MB, DF, RF, JF, CU, CV, Assembler, LocalAssembler > | Traits |
The grid operator traits. | |
Public Member Functions | |
GridOperator (const GFSU &gfsu_, const CU &cu_, const GFSV &gfsv_, const CV &cv_, LOP &lop_, const MB &mb_=MB()) | |
Constructor for non trivial constraints. | |
GridOperator (const GFSU &gfsu_, const GFSV &gfsv_, LOP &lop_, const MB &mb_=MB()) | |
Constructor for empty constraints. | |
const GFSU & | trialGridFunctionSpace () const |
Get the trial grid function space. | |
const GFSV & | testGridFunctionSpace () const |
Get the test grid function space. | |
GFSU::Traits::SizeType | globalSizeU () const |
Get dimension of space u. | |
GFSV::Traits::SizeType | globalSizeV () const |
Get dimension of space v. | |
template<typename F , typename X > | |
void | interpolate (const X &xold, F &f, X &x) const |
Interpolate the constrained dofs from given function. | |
void | fill_pattern (Pattern &p) const |
Fill pattern of jacobian matrix. | |
void | residual (const Domain &x, Range &r) const |
Assemble residual. | |
void | jacobian (const Domain &x, Jacobian &a) const |
Assembler jacobian. | |
void | jacobian_apply (const Domain &update, Range &result) const |
Apply jacobian matrix to the vector update without explicitly assembling it. | |
void | jacobian_apply (const Domain &solution, const Domain &update, Range &result) const |
Apply jacobian matrix to the vector update without explicitly assembling it. | |
void | nonlinear_jacobian_apply (const Domain &solution, const Domain &update, Range &result) const |
Apply jacobian matrix to the vector update without explicitly assembling it. | |
const Traits::MatrixBackend & | matrixBackend () const |
Get the matrix backend for this grid operator. | |
Static Public Member Functions | |
template<typename GridOperatorTuple > | |
static void | setupGridOperators (GridOperatorTuple tuple) |
Detailed Description
template<typename GFSU, typename GFSV, typename LOP, typename MB, typename DF, typename RF, typename JF, typename CU = Dune::PDELab::EmptyTransformation, typename CV = Dune::PDELab::EmptyTransformation>
class Dune::PDELab::GridOperator< GFSU, GFSV, LOP, MB, DF, RF, JF, CU, CV >
class Dune::PDELab::GridOperator< GFSU, GFSV, LOP, MB, DF, RF, JF, CU, CV >
Standard grid operator implementation.
- Template Parameters
-
GFSU GridFunctionSpace for ansatz functions GFSV GridFunctionSpace for test functions MB The matrix backend to be used for representation of the jacobian DF The domain field type of the operator RF The range field type of the operator JF The jacobian field type CU Constraints maps for the individual dofs (trial space) CV Constraints maps for the individual dofs (test space)
Member Function Documentation
◆ setupGridOperators()
template<typename GFSU , typename GFSV , typename LOP , typename MB , typename DF , typename RF , typename JF , typename CU = Dune::PDELab::EmptyTransformation, typename CV = Dune::PDELab::EmptyTransformation>
template<typename GridOperatorTuple >
|
inlinestatic |
Method to set up a number of grid operators which are used in a joint assembling. It is assumed that all operators are specializations of the same template type
References Dune::Hybrid::forEach().
The documentation for this class was generated from the following file:
- dune/pdelab/gridoperator/gridoperator.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)