dune-pdelab  2.5-dev
Public Member Functions | List of all members
Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters > Struct Template Reference

#include <dune/pdelab/constraints/common/constraintsparameters.hh>

Inheritance diagram for Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >:
Inheritance graph

Public Member Functions

template<typename I >
bool isDirichlet (const I &intersection, const FieldVector< typename I::ctype, I::dimension-1 > &coord) const
 
template<typename I >
bool isNeumann (const I &intersection, const FieldVector< typename I::ctype, I::dimension-1 > &coord) const
 
template<typename T >
void setTime (const T &time)
 
 FluxFromDirichletConstraintsAdapter (DirichletConstraintsParameters &dirichletConstraintsParameters)
 

Detailed Description

template<typename DirichletConstraintsParameters>
struct Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >

Adapter class that deduces Neumann constraints from a model of DirichletConstraintsParameters by applying the standard logic that every location on the boundary is either Neumann or Dirichlet constrained.

Warning
This adapter will only work for the standard case of $\partial \Omega = \Gamma_D \cup \Gamma_N$. Do not try to use it for more advanced problems such as flow with flux, outflow and Dirichlet constraints!
Template Parameters
DirichletConstraintsParametersThe type of the underlying Dirichlet constraints parameters implementation.

Constructor & Destructor Documentation

§ FluxFromDirichletConstraintsAdapter()

template<typename DirichletConstraintsParameters >
Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >::FluxFromDirichletConstraintsAdapter ( DirichletConstraintsParameters dirichletConstraintsParameters)
inline

Member Function Documentation

§ isDirichlet()

template<typename DirichletConstraintsParameters >
template<typename I >
bool Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >::isDirichlet ( const I &  intersection,
const FieldVector< typename I::ctype, I::dimension-1 > &  coord 
) const
inline

Forwards to the underlying DirichletConstraintsParameters implementation.

§ isNeumann()

template<typename DirichletConstraintsParameters >
template<typename I >
bool Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >::isNeumann ( const I &  intersection,
const FieldVector< typename I::ctype, I::dimension-1 > &  coord 
) const
inline

Returns the opposite of isDirichlet().

§ setTime()

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

Forwards the new time to the underlying DirichletConstraintsParameters object.


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