concepts::Dirichlet< F > Class Template Reference

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

#include <dirichlet.hh>

Inheritance diagram for concepts::Dirichlet< F >:
concepts::OutputOperator

Public Member Functions

 Dirichlet (Space< Real > &spc)
 Constructor. More...
 
std::map< int, F > * operator[] (const Element< F > *elm)
 Operator which returns the coefficients of one element. More...
 
virtual ~Dirichlet ()
 Destructor. More...
 

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< F > *, std::map< int, F > * > * coeff_
 Linked list of the local coefficients. More...
 

Detailed Description

template<class F>
class concepts::Dirichlet< F >

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

Definition at line 24 of file dirichlet.hh.

Constructor & Destructor Documentation

◆ Dirichlet()

template<class F >
concepts::Dirichlet< F >::Dirichlet ( Space< Real > &  spc)
inline

Constructor.

Definition at line 27 of file dirichlet.hh.

◆ ~Dirichlet()

template<class F >
virtual concepts::Dirichlet< F >::~Dirichlet ( )
virtual

Destructor.

Member Function Documentation

◆ datainfo()

template<class F >
virtual std::ostream& concepts::Dirichlet< F >::datainfo ( std::ostream &  os) const
protectedvirtual

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

◆ info()

template<class F >
virtual std::ostream& concepts::Dirichlet< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Reimplemented in hp2Dedge::DirichletCoefficients.

◆ operator[]()

template<class F >
std::map<int,F>* concepts::Dirichlet< F >::operator[] ( const Element< F > *  elm)
inline

Operator which returns the coefficients of one element.

Definition at line 29 of file dirichlet.hh.

Member Data Documentation

◆ coeff_

template<class F >
std::map<const Element<F>*, std::map<int,F>*>* concepts::Dirichlet< F >::coeff_
protected

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