dune-pdelab 2.9
Loading...
Searching...
No Matches
Dune::PDELab::GlobalCallableToBoundaryConditionAdapter< F > Class Template Reference

Adapter for boundary cond from a callable taking global coordinates. More...

#include <dune/pdelab/function/callableadapter.hh>

Inheritance diagram for Dune::PDELab::GlobalCallableToBoundaryConditionAdapter< F >:
Inheritance graph

Public Types

typedef LeafNodeTag NodeTag
 

Public Member Functions

 GlobalCallableToBoundaryConditionAdapter (F f_)
 construct from functor
 
template<typename I >
bool isDirichlet (const I &intersection, const Dune::FieldVector< typename I::ctype, I::mydimension > &coord) const
 Test whether boundary is Dirichlet-constrained.
 
template<typename I >
bool isNeumann (const I &ig, const Dune::FieldVector< typename I::ctype, I::mydimension > &coord) const
 
template<typename T >
void setTime (const T &time)
 

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 F>
class Dune::PDELab::GlobalCallableToBoundaryConditionAdapter< F >

Adapter for boundary cond from a callable taking global coordinates.

Constructor & Destructor Documentation

◆ GlobalCallableToBoundaryConditionAdapter()

template<typename F >
Dune::PDELab::GlobalCallableToBoundaryConditionAdapter< F >::GlobalCallableToBoundaryConditionAdapter ( f_)
inline

construct from functor

Member Function Documentation

◆ isDirichlet()

template<typename F >
template<typename I >
bool Dune::PDELab::GlobalCallableToBoundaryConditionAdapter< F >::isDirichlet ( const I &  intersection,
const Dune::FieldVector< typename I::ctype, I::mydimension > &  coord 
) const
inline

Test whether boundary is Dirichlet-constrained.

◆ isNeumann()

template<typename F >
template<typename I >
bool Dune::PDELab::GlobalCallableToBoundaryConditionAdapter< F >::isNeumann ( const I &  ig,
const Dune::FieldVector< typename I::ctype, I::mydimension > &  coord 
) const
inline

◆ setTime()

template<typename T >
void Dune::PDELab::DirichletConstraintsParameters::setTime ( const T &  time)
inlineinherited

Sets the current time (only required for instationary problems).

Note
This method only needs to be implement for instationary problems.

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