dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::PDELab::V_g< TP, PL, PG > Class Template Reference

Provide velocity field for gas phase. More...

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

Inheritance diagram for Dune::PDELab::V_g< 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_g< TP, PL, PG > >
 
typedef GridFunctionTag ImplementationTag
 
typedef T::GridViewType GridViewType
 Type of the GridView. More...
 
using Output = typename Base::Output
 

Public Member Functions

 V_g (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. More...
 
const Traits::GridViewTypegetGridView () const
 get a reference to the GridView More...
 
Output::DataSetType dataSetType () const
 Return the data set type of this function. More...
 
void setDataSetType (Output::DataSetType dataSetType)
 Set the data set type of this function. More...
 

Detailed Description

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

Provide velocity field for gas phase.

Uses RT0 interpolation on a cell.

Member Typedef Documentation

◆ BaseT

template<typename TP , typename PL , typename PG >
using Dune::PDELab::V_g< TP, PL, PG >::BaseT = Dune::PDELab::GridFunctionBase<Traits,V_g<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_g< 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_g< 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_g< TP, PL, PG > >::Output = typename Base::Output
inherited

◆ Traits

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

Constructor & Destructor Documentation

◆ V_g()

template<typename TP , typename PL , typename PG >
Dune::PDELab::V_g< TP, PL, PG >::V_g ( 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_g< 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_g< 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_g< 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: