dune-pdelab 2.8
Loading...
Searching...
No Matches
Dune::PDELab::V_l< TP, PL, PG > Class Template Reference

Provide velocity field for liquid phase. More...

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

Inheritance diagram for Dune::PDELab::V_l< TP, PL, PG >:
Inheritance graph

Public Types

using Traits = Dune::PDELab::GridFunctionTraits< GV, RF, dim, Dune::FieldVector< RF, dim > >
 
using BaseT = Dune::PDELab::GridFunctionBase< Traits, V_l< TP, PL, PG > >
 
typedef GridFunctionTag ImplementationTag
 
typedef T::GridViewType GridViewType
 Type of the GridView.
 
using Output = typename Base::Output
 
typedef LeafNodeTag NodeTag
 

Public Member Functions

 V_l (const TP &tp_, const PL &pl_, const PG &pg_)
 
void set_time (typename TP::Traits::RangeFieldType time_)
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 
const Traits::GridViewTypegetGridView ()
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate the GridFunction at given position.
 
const Traits::GridViewTypegetGridView () const
 get a reference to the GridView
 
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
 
static const std::size_t CHILDREN
 

Detailed Description

template<typename TP, typename PL, typename PG>
class Dune::PDELab::V_l< TP, PL, PG >

Provide velocity field for liquid phase.

Uses RT0 interpolation on a cell.

Member Typedef Documentation

◆ BaseT

template<typename TP , typename PL , typename PG >
using Dune::PDELab::V_l< TP, PL, PG >::BaseT = Dune::PDELab::GridFunctionBase<Traits,V_l<TP,PL,PG> >

◆ GridViewType

typedef T::GridViewType Dune::PDELab::GridFunctionBase< Dune::PDELab::GridFunctionTraits< PL::Traits::GridViewType, PL::Traits::RangeFieldType, PL::Traits::GridViewType::dimension, Dune::FieldVector< PL::Traits::RangeFieldType, PL::Traits::GridViewType::dimension > > , V_l< TP, PL, PG > >::GridViewType
inherited

Type of the GridView.

◆ ImplementationTag

typedef GridFunctionTag Dune::PDELab::GridFunctionBase< Dune::PDELab::GridFunctionTraits< PL::Traits::GridViewType, PL::Traits::RangeFieldType, PL::Traits::GridViewType::dimension, Dune::FieldVector< PL::Traits::RangeFieldType, PL::Traits::GridViewType::dimension > > , V_l< TP, PL, PG > >::ImplementationTag
inherited

◆ Output

using Dune::PDELab::GridFunctionBase< Dune::PDELab::GridFunctionTraits< PL::Traits::GridViewType, PL::Traits::RangeFieldType, PL::Traits::GridViewType::dimension, Dune::FieldVector< PL::Traits::RangeFieldType, PL::Traits::GridViewType::dimension > > , V_l< TP, PL, PG > >::Output = typename Base::Output
inherited

◆ Traits

template<typename TP , typename PL , typename PG >
using Dune::PDELab::V_l< TP, PL, PG >::Traits = Dune::PDELab::GridFunctionTraits<GV,RF,dim,Dune::FieldVector<RF,dim> >

Constructor & Destructor Documentation

◆ V_l()

template<typename TP , typename PL , typename PG >
Dune::PDELab::V_l< TP, PL, PG >::V_l ( const TP &  tp_,
const PL &  pl_,
const PG &  pg_ 
)
inline

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 TP , typename PL , typename PG >
void Dune::PDELab::V_l< TP, PL, PG >::evaluate ( const typename Traits::ElementType e,
const typename Traits::DomainType x,
typename Traits::RangeType y 
) const
inline

◆ getGridView() [1/2]

template<typename TP , typename PL , typename PG >
const Traits::GridViewType & Dune::PDELab::V_l< TP, PL, PG >::getGridView ( )
inline

◆ getGridView() [2/2]

template<class T , class Imp >
const Traits::GridViewType & Dune::PDELab::GridFunctionInterface< T, Imp >::getGridView ( ) const
inlineinherited

get a reference to the GridView

◆ set_time()

template<typename TP , typename PL , typename PG >
void Dune::PDELab::V_l< TP, PL, PG >::set_time ( typename TP::Traits::RangeFieldType  time_)
inline

◆ 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: