DUNE PDELab (git)

Dune::PDELab::LinearElasticityParameterInterface< T, Imp > Class Template Reference

base class for linear elasticity parameter class More...

#include <dune/pdelab/localoperator/linearelasticityparameter.hh>

Public Types

typedef LeafNodeTag NodeTag
 The type tag that describes a LeafNode.
 

Public Member Functions

void f (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 volume force term
 
void u (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Dirichlet boundary condition value (displacement)
 
Traits::RangeFieldType lambda (const typename Traits::ElementType &e, const typename Traits::DomainType &x) const
 First Lame parameter.
 
Traits::RangeFieldType mu (const typename Traits::ElementType &e, const typename Traits::DomainType &x) const
 Second Lame parameter (shear modulus)
 
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.
 

Detailed Description

template<class T, class Imp>
class Dune::PDELab::LinearElasticityParameterInterface< T, Imp >

base class for linear elasticity parameter class

Member Function Documentation

◆ isDirichlet()

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

Indicates whether the given position should be Dirichlet-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 Dirichlet constraint.

Referenced by Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >::isDirichlet(), and Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >::isNeumann().

◆ isNeumann()

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

Indicates whether the given position should be Neumann-constrained.

Most of the time, this method will be equivalent to !isDirichlet(...), but sometimes (in particular in multi-domain scenarios), both methods may return false.

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.

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

Referenced by Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >::setTime().


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