DUNE PDELab (2.7)

Dune::PDELab::DirichletFromFluxConstraintsAdapter< FluxConstraintsParameters > 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 FluxConstraintsParameters>
struct Dune::PDELab::DirichletFromFluxConstraintsAdapter< FluxConstraintsParameters >

Adapter class that deduces Dirichlet constraints from a model of FluxConstraintsParameters 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
FluxConstraintsParametersThe type of the underlying Neumann constraints parameters implementation.

Member Function Documentation

◆ isDirichlet()

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

◆ isNeumann()

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

Forwards to the underlying FluxConstraintsParameters implementation

References Dune::PDELab::FluxConstraintsParameters::isNeumann().

◆ setTime()

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

Forwards the new time to the underlying FluxConstraintsParameters object.

References Dune::PDELab::FluxConstraintsParameters::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.80.0 (May 16, 22:29, 2024)