hp2Dedge::DirichletCoefficients Class Reference

Class for calculating and holding local coefficients per element which represent the dirichlet boundary condition. More...

#include <boundaries.hh>

Inheritance diagram for hp2Dedge::DirichletCoefficients:
concepts::Dirichlet< Real > concepts::OutputOperator

Public Member Functions

 DirichletCoefficients (Space &spc)
 Constructor, which calculates the local coefficients belonging the essential Dirichlet boundary conditions Remark: the boundary condition is already in the space. More...
 
std::map< int, Real > * operator[] (const Element< Real > *elm)
 Operator which returns the coefficients of one element. More...
 
 ~DirichletCoefficients ()
 

Protected Member Functions

virtual std::ostream & datainfo (std::ostream &os) const
 Writes coefficients for each element in the space to the stream. More...
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Protected Attributes

std::map< const Element< Real > *, std::map< int, Real > * > * coeff_
 Linked list of the local coefficients. More...
 

Detailed Description

Class for calculating and holding local coefficients per element which represent the dirichlet boundary condition.

Definition at line 48 of file boundaries.hh.

Constructor & Destructor Documentation

◆ DirichletCoefficients()

hp2Dedge::DirichletCoefficients::DirichletCoefficients ( Space spc)

Constructor, which calculates the local coefficients belonging the essential Dirichlet boundary conditions Remark: the boundary condition is already in the space.

◆ ~DirichletCoefficients()

hp2Dedge::DirichletCoefficients::~DirichletCoefficients ( )

Member Function Documentation

◆ datainfo()

virtual std::ostream& concepts::Dirichlet< Real >::datainfo ( std::ostream &  os) const
protectedvirtualinherited

Writes coefficients for each element in the space to the stream.

◆ info()

virtual std::ostream& hp2Dedge::DirichletCoefficients::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Dirichlet< Real >.

◆ operator[]()

std::map<int,Real >* concepts::Dirichlet< Real >::operator[] ( const Element< Real > *  elm)
inlineinherited

Operator which returns the coefficients of one element.

Definition at line 29 of file dirichlet.hh.

Member Data Documentation

◆ coeff_

std::map<const Element<Real >*, std::map<int,Real >*>* concepts::Dirichlet< Real >::coeff_
protectedinherited

Linked list of the local coefficients.

Definition at line 53 of file dirichlet.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich