DUNE-FEM (unstable)

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 LocalFunctionSetType::EntityType EntityType
 entity type
 
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 Dune::ReferenceElement< typename EntityType::GeometryReferenceElementType
 type of reference element
 

Public Member Functions

 SimpleBasisFunctionSet (const LocalFunctionSetType &localFunctionSet)
 constructor More...
 
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 More...
 
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
 return entity this basis function set was initialized on
 
const Geometry & geometry () const
 return geometry this basis function set was initialized on
 
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

Constructor & Destructor Documentation

◆ SimpleBasisFunctionSet()

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

constructor

Parameters
[in]localFunctionSetimplementation of LocalFunctionSet

Member Function Documentation

◆ axpy()

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

References Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::axpy(), and Dune::Fem::IntegrationPointList< FieldImp, dim, IntegrationTraits, isQuadrature >::nop().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)