dune-fem 2.12-git
Loading...
Searching...
No Matches
Dune::Fem::GridFunctionView< GF, false > Struct Template Reference

#include <dune/fem/misc/gridfunctionview.hh>

Inheritance diagram for Dune::Fem::GridFunctionView< GF, false >:
Inheritance graph

Public Types

using Base = BindableGridFunction< typename GF::GridPartType, typename GF::RangeType >
 
typedef GF::EntityType Entity
 
typedef GF::RangeType Value
 
typedef Entity::Geometry::LocalCoordinate LocalCoordinate
 
typedef GF::GridPartType GridPartType
 
typedef GridPart::template Codim< 0 >::EntityType EntityType
 
typedef EntityGeometryStorage< EntityTypeBaseType
 
typedef GridPart::IntersectionType IntersectionType
 
typedef EntityType::Geometry Geometry
 
typedef Geometry::GlobalCoordinate DomainType
 
typedef Dune::Fem::GridFunctionSpace< GridPartType, GF::RangeType > FunctionSpaceType
 
typedef FunctionSpaceType::RangeFieldType RangeFieldType
 
typedef FunctionSpaceType::RangeType RangeType
 
typedef FunctionSpaceType::JacobianRangeType JacobianRangeType
 
typedef FunctionSpaceType::HessianRangeType HessianRangeType
 
typedef Geometry::ctype ctype
 type of coordinate field
 
typedef std::decay_t< decltype(Dune::ReferenceElements< ctype, Geometry::coorddimension >::general(std::declval< const Dune::GeometryType & >())) > ReferenceElementType
 type of reference element
 

Public Member Functions

 GridFunctionView (const GF &gf)
 
Value operator() (const LocalCoordinate &x) const
 
void bind (const Entity &entity)
 
void unbind ()
 
template<class IntersectionType >
void bind (const IntersectionType &intersection, IntersectionSide side)
 
void bind (const EntityType &entity)
 set new entity object and geometry if enabled
 
bool continuous () const
 
DomainType global (const Point &x) const
 
void evaluate (const Point &x, RangeType &ret) const
 
void evaluate (const Quadrature &quadrature, RangeArray &values) const
 
const GF::GridPartType & gridPart () const
 
const Entityentity () const
 return entity
 
bool valid () const
 return true if entity pointer is set
 
const Geometrygeometry () const
 return geometry
 
Dune::GeometryType type () const
 return geometry type
 
const ReferenceElementTypereferenceElement () const
 return reference element
 

Protected Types

typedef std::optional< EntityTypeEntityStorageType
 
typedef std::conditional< storeGeometry, std::optional< Geometry >, Empty >::type GeometryStorageType
 

Protected Member Functions

void copyGeometry (const EntityGeometryStorageImpl &other)
 

Protected Attributes

const GF::GridPartType & gridPart_
 
EntityStorageType entity_
 
GeometryStorageType geometry_
 

Member Typedef Documentation

◆ Base

template<class GF >
using Dune::Fem::GridFunctionView< GF, false >::Base = BindableGridFunction<typename GF::GridPartType, typename GF::RangeType>

◆ BaseType

typedef EntityGeometryStorage< EntityType > Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::BaseType
inherited

◆ ctype

template<class Entity , bool storeGeometry = true>
typedef Geometry::ctype Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::ctype
inherited

type of coordinate field

◆ DomainType

typedef Geometry::GlobalCoordinate Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::DomainType
inherited

◆ Entity

template<class GF >
typedef GF::EntityType Dune::Fem::GridFunctionView< GF, false >::Entity

◆ EntityStorageType

template<class Entity , bool storeGeometry = true>
typedef std::optional< EntityType > Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::EntityStorageType
protectedinherited

◆ EntityType

typedef GridPart::template Codim<0>::EntityType Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::EntityType
inherited

◆ FunctionSpaceType

typedef Dune::Fem::GridFunctionSpace<GridPartType, GF::RangeType > Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::FunctionSpaceType
inherited

◆ Geometry

typedef EntityType::Geometry Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::Geometry
inherited

◆ GeometryStorageType

template<class Entity , bool storeGeometry = true>
typedef std::conditional<storeGeometry,std::optional<Geometry>,Empty>::type Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::GeometryStorageType
protectedinherited

◆ GridPartType

typedef GF::GridPartType Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::GridPartType
inherited

◆ HessianRangeType

typedef FunctionSpaceType::HessianRangeType Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::HessianRangeType
inherited

◆ IntersectionType

typedef GridPart::IntersectionType Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::IntersectionType
inherited

◆ JacobianRangeType

typedef FunctionSpaceType::JacobianRangeType Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::JacobianRangeType
inherited

◆ LocalCoordinate

template<class GF >
typedef Entity::Geometry::LocalCoordinate Dune::Fem::GridFunctionView< GF, false >::LocalCoordinate

◆ RangeFieldType

typedef FunctionSpaceType::RangeFieldType Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::RangeFieldType
inherited

◆ RangeType

typedef FunctionSpaceType::RangeType Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::RangeType
inherited

◆ ReferenceElementType

template<class Entity , bool storeGeometry = true>
typedef std::decay_t< decltype( Dune::ReferenceElements< ctype, Geometry::coorddimension >:: general( std::declval< const Dune::GeometryType & >() ) ) > Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::ReferenceElementType
inherited

type of reference element

◆ Value

template<class GF >
typedef GF::RangeType Dune::Fem::GridFunctionView< GF, false >::Value

Constructor & Destructor Documentation

◆ GridFunctionView()

template<class GF >
Dune::Fem::GridFunctionView< GF, false >::GridFunctionView ( const GF &  gf)
inline

Member Function Documentation

◆ bind() [1/3]

template<class GF >
void Dune::Fem::GridFunctionView< GF, false >::bind ( const Entity entity)
inline

◆ bind() [2/3]

template<class Entity , bool storeGeometry = true>
void Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::bind ( const EntityType entity)
inlineinherited

set new entity object and geometry if enabled

◆ bind() [3/3]

template<class GF >
template<class IntersectionType >
void Dune::Fem::GridFunctionView< GF, false >::bind ( const IntersectionType intersection,
IntersectionSide  side 
)
inline

◆ continuous()

bool Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::continuous ( ) const
inlineinherited

◆ copyGeometry()

template<class Entity , bool storeGeometry = true>
void Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::copyGeometry ( const EntityGeometryStorageImpl< Entity, storeGeometry > &  other)
inlineprotectedinherited

◆ entity()

template<class Entity , bool storeGeometry = true>
const Entity & Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::entity ( ) const
inlineinherited

return entity

◆ evaluate() [1/2]

void Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::evaluate ( const Point &  x,
RangeType ret 
) const
inherited

◆ evaluate() [2/2]

void Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::evaluate ( const Quadrature quadrature,
RangeArray &  values 
) const
inlineinherited

◆ geometry()

template<class Entity , bool storeGeometry = true>
const Geometry & Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::geometry ( ) const
inlineinherited

return geometry

◆ global()

DomainType Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::global ( const Point &  x) const
inlineinherited

◆ gridPart()

const GF::GridPartType & Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::gridPart ( ) const
inlineinherited

◆ operator()()

template<class GF >
Value Dune::Fem::GridFunctionView< GF, false >::operator() ( const LocalCoordinate x) const
inline

◆ referenceElement()

template<class Entity , bool storeGeometry = true>
const ReferenceElementType & Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::referenceElement ( ) const
inlineinherited

return reference element

◆ type()

template<class Entity , bool storeGeometry = true>
Dune::GeometryType Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::type ( ) const
inlineinherited

return geometry type

◆ unbind()

template<class GF >
void Dune::Fem::GridFunctionView< GF, false >::unbind ( )
inline

◆ valid()

template<class Entity , bool storeGeometry = true>
bool Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::valid ( ) const
inlineinherited

return true if entity pointer is set

Member Data Documentation

◆ entity_

template<class Entity , bool storeGeometry = true>
EntityStorageType Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::entity_
protectedinherited

◆ geometry_

template<class Entity , bool storeGeometry = true>
GeometryStorageType Dune::Fem::EntityGeometryStorageImpl< Entity, storeGeometry >::geometry_
protectedinherited

◆ gridPart_

const GF::GridPartType & Dune::Fem::BindableGridFunction< GF::GridPartType , GF::RangeType >::gridPart_
protectedinherited

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