dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet > Class Template Reference

This class is a simple basis function set which is needed for global basis functions sets (Fourier space etc.). More...

#include <dune/fem/space/basisfunctionset/simple.hh>

Public Types

typedef LocalFunctionSet LocalFunctionSetType
 
typedef LocalFunctionSetType::EntityType EntityType
 entity type
 
typedef LocalFunctionSetType::FunctionSpaceType FunctionSpaceType
 
typedef FunctionSpaceType::DomainType DomainType
 range type
 
typedef FunctionSpaceType::RangeType RangeType
 range type
 
typedef FunctionSpaceType::JacobianRangeType JacobianRangeType
 jacobian range type
 
typedef FunctionSpaceType::HessianRangeType HessianRangeType
 hessian range type
 
typedef FunctionSpaceType::RangeFieldType RangeFieldType
 
typedef FunctionSpaceType::DomainFieldType DomainFieldType
 
typedef Dune::ReferenceElement< typename EntityType::Geometry > ReferenceElementType
 type of reference element
 

Public Member Functions

 SimpleBasisFunctionSet ()
 
 SimpleBasisFunctionSet (const LocalFunctionSetType &localFunctionSet)
 constructor
 
int order () const
 return order of basis function set
 
std::size_t size () const
 return size of basis function set
 
decltype(auto) referenceElement () const
 return reference element
 
template<class Quadrature , class Vector , class DofVector >
void axpy (const Quadrature &quad, const Vector &values, DofVector &dofs) const
 evaluate all basis function and multiply with given values and add to dofs
 
template<class Quadrature , class VectorA , class VectorB , class DofVector >
void axpy (const Quadrature &quad, const VectorA &valuesA, const VectorB &valuesB, DofVector &dofs) const
 evaluate all basis function and multiply with given values and add to dofs
 
template<class Point , class DofVector >
void axpy (const Point &x, const RangeType &valueFactor, DofVector &dofs) const
 evaluate all basis function and multiply with given values and add to dofs
 
template<class Point , class DofVector >
void axpy (const Point &x, const JacobianRangeType &jacobianFactor, DofVector &dofs) const
 evaluate all basis function and multiply with given values and add to dofs
 
template<class Point , class DofVector >
void axpy (const Point &x, const HessianRangeType &hessianFactor, DofVector &dofs) const
 Add H:D^2phi to each dof.
 
template<class Point , class DofVector >
void axpy (const Point &x, const RangeType &valueFactor, const JacobianRangeType &jacobianFactor, DofVector &dofs) const
 evaluate all basis function and multiply with given values and add to dofs
 
template<class Quadrature , class DofVector , class RangeArray >
void evaluateAll (const Quadrature &quad, const DofVector &dofs, RangeArray &ranges) const
 evaluate all basis functions and store the result in the ranges array
 
template<class Point , class DofVector >
void evaluateAll (const Point &x, const DofVector &dofs, RangeType &value) const
 please doc me
 
template<class Point , class RangeArray >
void evaluateAll (const Point &x, RangeArray &values) const
 please doc me
 
template<class Quadrature , class DofVector , class JacobianRangeArray >
void jacobianAll (const Quadrature &quad, const DofVector &dofs, JacobianRangeArray &jacobians) const
 please doc me
 
template<class Point , class DofVector >
void jacobianAll (const Point &x, const DofVector &dofs, JacobianRangeType &jacobian) const
 please doc me
 
template<class Point , class JacobianRangeArray >
void jacobianAll (const Point &x, JacobianRangeArray &jacobians) const
 please doc me
 
template<class Point , class DofVector >
void hessianAll (const Point &x, const DofVector &dofs, HessianRangeType &hessian) const
 please doc me
 
template<class Point , class HessianRangeArray >
void hessianAll (const Point &x, HessianRangeArray &hessians) const
 please doc me
 
const EntityTypeentity () const
 please doc me
 
const LocalFunctionSetType localFunctionSet () const
 return local function set
 

Detailed Description

template<class LocalFunctionSet>
class Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >

This class is a simple basis function set which is needed for global basis functions sets (Fourier space etc.).

Note
For localized basis function sets use the DefaultBasisFunctionSet.
Template Parameters
LocalFunctionSetset of basis functions

Member Typedef Documentation

◆ DomainFieldType

◆ DomainType

range type

◆ EntityType

entity type

◆ FunctionSpaceType

◆ HessianRangeType

hessian range type

◆ JacobianRangeType

jacobian range type

◆ LocalFunctionSetType

template<class LocalFunctionSet >
typedef LocalFunctionSet Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::LocalFunctionSetType

◆ RangeFieldType

◆ RangeType

range type

◆ ReferenceElementType

template<class LocalFunctionSet >
typedef Dune::ReferenceElement< typename EntityType::Geometry > Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::ReferenceElementType

type of reference element

Constructor & Destructor Documentation

◆ SimpleBasisFunctionSet() [1/2]

template<class LocalFunctionSet >
Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::SimpleBasisFunctionSet ( )
inline

◆ SimpleBasisFunctionSet() [2/2]

template<class LocalFunctionSet >
Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::SimpleBasisFunctionSet ( const LocalFunctionSetType localFunctionSet)
inlineexplicit

constructor

Parameters
[in]localFunctionSetimplementation of LocalFunctionSet

Member Function Documentation

◆ axpy() [1/6]

template<class LocalFunctionSet >
template<class Point , class DofVector >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::axpy ( const Point &  x,
const HessianRangeType hessianFactor,
DofVector &  dofs 
) const
inline

Add H:D^2phi to each dof.

◆ axpy() [2/6]

template<class LocalFunctionSet >
template<class Point , class DofVector >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::axpy ( const Point &  x,
const JacobianRangeType jacobianFactor,
DofVector &  dofs 
) const
inline

evaluate all basis function and multiply with given values and add to dofs

◆ axpy() [3/6]

template<class LocalFunctionSet >
template<class Point , class DofVector >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::axpy ( const Point &  x,
const RangeType valueFactor,
const JacobianRangeType jacobianFactor,
DofVector &  dofs 
) const
inline

evaluate all basis function and multiply with given values and add to dofs

◆ axpy() [4/6]

template<class LocalFunctionSet >
template<class Point , class DofVector >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::axpy ( const Point &  x,
const RangeType valueFactor,
DofVector &  dofs 
) const
inline

evaluate all basis function and multiply with given values and add to dofs

◆ axpy() [5/6]

template<class LocalFunctionSet >
template<class Quadrature , class Vector , class DofVector >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::axpy ( const Quadrature quad,
const Vector &  values,
DofVector &  dofs 
) const
inline

evaluate all basis function and multiply with given values and add to dofs

◆ axpy() [6/6]

template<class LocalFunctionSet >
template<class Quadrature , class VectorA , class VectorB , class DofVector >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::axpy ( const Quadrature quad,
const VectorA &  valuesA,
const VectorB &  valuesB,
DofVector &  dofs 
) const
inline

evaluate all basis function and multiply with given values and add to dofs

Note
valuesA and valuesB can be vectors of RangeType or JacobianRangeType

◆ entity()

template<class LocalFunctionSet >
const EntityType & Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::entity ( ) const
inline

please doc me

◆ evaluateAll() [1/3]

template<class LocalFunctionSet >
template<class Point , class DofVector >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::evaluateAll ( const Point &  x,
const DofVector &  dofs,
RangeType value 
) const
inline

please doc me

◆ evaluateAll() [2/3]

template<class LocalFunctionSet >
template<class Point , class RangeArray >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::evaluateAll ( const Point &  x,
RangeArray &  values 
) const
inline

please doc me

◆ evaluateAll() [3/3]

template<class LocalFunctionSet >
template<class Quadrature , class DofVector , class RangeArray >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::evaluateAll ( const Quadrature quad,
const DofVector &  dofs,
RangeArray &  ranges 
) const
inline

evaluate all basis functions and store the result in the ranges array

◆ hessianAll() [1/2]

template<class LocalFunctionSet >
template<class Point , class DofVector >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::hessianAll ( const Point &  x,
const DofVector &  dofs,
HessianRangeType hessian 
) const
inline

please doc me

◆ hessianAll() [2/2]

template<class LocalFunctionSet >
template<class Point , class HessianRangeArray >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::hessianAll ( const Point &  x,
HessianRangeArray &  hessians 
) const
inline

please doc me

◆ jacobianAll() [1/3]

template<class LocalFunctionSet >
template<class Point , class DofVector >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::jacobianAll ( const Point &  x,
const DofVector &  dofs,
JacobianRangeType jacobian 
) const
inline

please doc me

◆ jacobianAll() [2/3]

template<class LocalFunctionSet >
template<class Point , class JacobianRangeArray >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::jacobianAll ( const Point &  x,
JacobianRangeArray &  jacobians 
) const
inline

please doc me

◆ jacobianAll() [3/3]

template<class LocalFunctionSet >
template<class Quadrature , class DofVector , class JacobianRangeArray >
void Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::jacobianAll ( const Quadrature quad,
const DofVector &  dofs,
JacobianRangeArray &  jacobians 
) const
inline

please doc me

◆ localFunctionSet()

template<class LocalFunctionSet >
const LocalFunctionSetType Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::localFunctionSet ( ) const
inline

return local function set

◆ order()

template<class LocalFunctionSet >
int Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::order ( ) const
inline

return order of basis function set

◆ referenceElement()

template<class LocalFunctionSet >
decltype(auto) Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::referenceElement ( ) const
inline

return reference element

◆ size()

template<class LocalFunctionSet >
std::size_t Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::size ( ) const
inline

return size of basis function set


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