DUNE PDELab (2.8)

Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters > Struct Template Reference

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

Public Types

typedef LeafNodeTag NodeTag
 The type tag that describes a LeafNode.
 

Public Member Functions

template<typename I >
bool isDirichlet (const I &intersection, const FieldVector< typename I::ctype, I::mydimension > &coord) const
 
template<typename I >
bool isNeumann (const I &intersection, const FieldVector< typename I::ctype, I::mydimension > &coord) const
 
template<typename T >
void setTime (const T &time)
 

Static Public Attributes

static const bool isLeaf = true
 Mark this class as a leaf in a dune-typetree.
 
static const bool isPower = false
 Mark this class as a non power in the dune-typetree.
 
static const bool isComposite = false
 Mark this class as a non composite in the dune-typetree.
 
static const std::size_t CHILDREN = 0
 Leafs have no children.
 

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.

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::mydimension > &  coord 
) const
inline

◆ isNeumann()

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

◆ 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.

References Dune::PDELab::DirichletConstraintsParameters::setTime().


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