dune-pdelab 2.10-git
Loading...
Searching...
No Matches
DarcyVelocityFromHeadFEM< P, T, X > Class Template Reference

Provide Darcy velocity as a vector-valued grid function. More...

#include <dune/pdelab/localoperator/darcyfem.hh>

Inheritance diagram for DarcyVelocityFromHeadFEM< P, T, X >:
Inheritance graph

Public Types

using Traits = Dune::PDELab::GridFunctionTraits< typename GFS::Traits::GridViewType, typename LBTraits::RangeFieldType, LBTraits::dimDomain, Dune::FieldVector< typename LBTraits::RangeFieldType, LBTraits::dimDomain > >
 
typedef GridFunctionTag ImplementationTag
 
typedef T::GridViewType GridViewType
 Type of the GridView.
 
using Output = typename Base::Output
 
typedef LeafNodeTag NodeTag
 

Public Member Functions

 DarcyVelocityFromHeadFEM (const P &p, const GFS &gfs, X &x_)
 Construct a DarcyVelocityFromHeadFEM.
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 
const Traits::GridViewTypegetGridView () const
 get a reference to the GridView
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate the GridFunction at given position.
 
Output::DataSetType dataSetType () const
 Return the data set type of this function.
 
void setDataSetType (Output::DataSetType dataSetType)
 Set the data set type of this function.
 

Static Public Member Functions

static constexpr auto degree ()
 

Static Public Attributes

static const bool isLeaf
 
static const bool isPower
 
static const bool isComposite
 

Detailed Description

template<typename P, typename T, typename X>
class DarcyVelocityFromHeadFEM< P, T, X >

Provide Darcy velocity as a vector-valued grid function.

The function values should be single-component vectors. The Gradient will be a dimDomain-component function.

Template Parameters
TType of GridFunctionSpace. The LocalBasis must provide the evaluateJacobian() method.
XType of coefficients vector

Member Typedef Documentation

◆ GridViewType

typedef T::GridViewType Dune::PDELab::GridFunctionBase< Dune::PDELab::GridFunctionTraits< T::Traits::GridViewType, T::Traits::FiniteElementType::Traits::LocalBasisType ::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits ::dimDomain, Dune::FieldVector< T::Traits::FiniteElementType::Traits ::LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits ::dimDomain > > , DarcyVelocityFromHeadFEM< P, T, X > >::GridViewType
inherited

Type of the GridView.

◆ ImplementationTag

typedef GridFunctionTag Dune::PDELab::GridFunctionBase< Dune::PDELab::GridFunctionTraits< T::Traits::GridViewType, T::Traits::FiniteElementType::Traits::LocalBasisType ::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits ::dimDomain, Dune::FieldVector< T::Traits::FiniteElementType::Traits ::LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits ::dimDomain > > , DarcyVelocityFromHeadFEM< P, T, X > >::ImplementationTag
inherited

◆ Output

using Dune::PDELab::GridFunctionBase< Dune::PDELab::GridFunctionTraits< T::Traits::GridViewType, T::Traits::FiniteElementType::Traits::LocalBasisType ::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits ::dimDomain, Dune::FieldVector< T::Traits::FiniteElementType::Traits ::LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits ::dimDomain > > , DarcyVelocityFromHeadFEM< P, T, X > >::Output = typename Base::Output
inherited

◆ Traits

template<typename P , typename T , typename X >
using DarcyVelocityFromHeadFEM< P, T, X >::Traits = Dune::PDELab::GridFunctionTraits< typename GFS::Traits::GridViewType, typename LBTraits::RangeFieldType, LBTraits::dimDomain, Dune::FieldVector< typename LBTraits::RangeFieldType, LBTraits::dimDomain> >

Constructor & Destructor Documentation

◆ DarcyVelocityFromHeadFEM()

template<typename P , typename T , typename X >
DarcyVelocityFromHeadFEM< P, T, X >::DarcyVelocityFromHeadFEM ( const P &  p,
const GFS &  gfs,
X &  x_ 
)
inline

Construct a DarcyVelocityFromHeadFEM.

Parameters
gfsThe GridFunctionsSpace
x_The coefficients vector

Member Function Documentation

◆ dataSetType()

Output::DataSetType Dune::PDELab::GridFunctionOutputParameters::dataSetType ( ) const
inlineinherited

Return the data set type of this function.

◆ evaluate() [1/2]

template<class T , class Imp >
void Dune::PDELab::GridFunctionInterface< T, Imp >::evaluate ( const typename Traits::ElementType &  e,
const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const
inlineinherited

Evaluate the GridFunction at given position.

Evaluates components of the grid function at the given position and returns these values in a vector.

Parameters
[in]eThe entity to evaluate on
[in]xThe position in entity-local coordinates
[out]yThe result of the evaluation

◆ evaluate() [2/2]

template<typename P , typename T , typename X >
void DarcyVelocityFromHeadFEM< P, T, X >::evaluate ( const typename Traits::ElementType e,
const typename Traits::DomainType x,
typename Traits::RangeType y 
) const
inline

◆ getGridView()

template<typename P , typename T , typename X >
const Traits::GridViewType & DarcyVelocityFromHeadFEM< P, T, X >::getGridView ( ) const
inline

get a reference to the GridView

◆ setDataSetType()

void Dune::PDELab::GridFunctionOutputParameters::setDataSetType ( Output::DataSetType  dataSetType)
inlineinherited

Set the data set type of this function.


The documentation for this class was generated from the following file: