dune-pdelab  2.4-dev
Public Member Functions | List of all members
Dune::PDELab::FluxConstraintsParameters Struct Reference

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

Inheritance diagram for Dune::PDELab::FluxConstraintsParameters:
Inheritance graph

Public Member Functions

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)
 

Detailed Description

Interface for the constraints parameters describing flux (Neumann) constraints.

Note
This class not only describes the required interface of the parameter class, but can also be used as a convenient standard implementation that will add Neumann constraints to all locations it is queried about.

Member Function Documentation

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

Indicates whether the given position should be Neumann-constrained.

Parameters
intersectionThe grid intersection containing the queried location.
coordThe position of the queried location in local coordinates of the intersection.
Returns
true iff the given location should have a Neumann constraint.

Referenced by Dune::PDELab::DirichletFromFluxConstraintsAdapter< FluxConstraintsParameters >::isDirichlet(), and Dune::PDELab::DirichletFromFluxConstraintsAdapter< FluxConstraintsParameters >::isNeumann().

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

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

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

Referenced by Dune::PDELab::DirichletFromFluxConstraintsAdapter< FluxConstraintsParameters >::setTime().


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