Class documentation of Concepts

Loading...
Searching...
No Matches
constraints::ConstraintsList< F > Class Template Referenceabstract

#include <analytical.hh>

Inheritance diagram for constraints::ConstraintsList< F >:
concepts::BilinearForm< F, G > concepts::LinearForm< F, G > concepts::Cloneable concepts::OutputOperator concepts::OutputOperator

Public Member Functions

 ConstraintsList ()
 Default constructor.
 
void add (const AnalyticalConstraint< F > &c)
 
void add (AnalyticalConstraint< F > *c)
 
void assembly (const concepts::Element< F > &e, concepts::TColumn< F > *&t, uint &n)
 
virtual void operator() (const concepts::Element< F > &elmX, const concepts::Element< F > &elmY, concepts::ElementMatrix< F > &em) const
 
virtual void operator() (const concepts::Element< F > &elm, concepts::ElementMatrix< F > &em) const
 
virtual ConstraintsListclone () const
 
virtual void operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const =0
 
virtual void operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em, const ElementPair< G > &ep) const
 
virtual void operator() (const Element< G > &elm, ElementMatrix< F > &em) const =0
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

template<typename F>
class constraints::ConstraintsList< F >

List of AnalyticalConstraint.

Author
Philipp Frauenfelder, 2002

Definition at line 110 of file analytical.hh.

Constructor & Destructor Documentation

◆ ConstraintsList()

template<typename F >
constraints::ConstraintsList< F >::ConstraintsList ( )
inline

Default constructor.

Definition at line 114 of file analytical.hh.

Member Function Documentation

◆ add() [1/2]

template<typename F >
void constraints::ConstraintsList< F >::add ( AnalyticalConstraint< F > *  c)

Adds an AnalyticalConstraint to the list. The list takes care of the removal of c.

◆ add() [2/2]

template<typename F >
void constraints::ConstraintsList< F >::add ( const AnalyticalConstraint< F > &  c)

Adds an AnalyticalConstraint to the list. c is copied before adding it to the list.

◆ assembly()

template<typename F >
void constraints::ConstraintsList< F >::assembly ( const concepts::Element< F > &  e,
concepts::TColumn< F > *&  t,
uint &  n 
)

Returns the TColumns t and the number of TColumns n for this constraint in element e. Calls assembly on every constraint of constraints_.

◆ clone()

template<typename F >
virtual ConstraintsList * constraints::ConstraintsList< F >::clone ( ) const
virtual

Virtual constructor. Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.

Implements concepts::BilinearForm< F, G >.

◆ info()

template<typename F >
virtual std::ostream & constraints::ConstraintsList< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::BilinearForm< F, G >.

◆ operator()() [1/3]

template<class F , class G = typename Realtype<F>::type>
virtual void concepts::LinearForm< F, G >::operator() ( const Element< G > &  elm,
ElementMatrix< F > &  em 
) const
pure virtualinherited

Computes the element contribution to the function.

Parameters
elmElement on which the computations should be performed
emThe local matrix

Implemented in vectorial::LinearForm< F, G >.

◆ operator()() [2/3]

template<class F , class G = typename Realtype<F>::type>
virtual void concepts::BilinearForm< F, G >::operator() ( const Element< G > &  elmX,
const Element< G > &  elmY,
ElementMatrix< F > &  em 
) const
pure virtualinherited

Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em.

Postcondition
The returned matrix em has the correct size.
Parameters
elmXLeft element (test functions)
elmYRight element (trial functions)
emReturn element matrix

Implemented in vectorial::BilinearForm< F, G >, concepts::BilinearFormLiCo< F, G >, concepts::BilinearFormContainer< F, G >, concepts::BilinearF_Sum< F, H, J, G >, and concepts::BilinearF_W< F, H, J, G >.

◆ operator()() [3/3]

template<class F , class G = typename Realtype<F>::type>
virtual void concepts::BilinearForm< F, G >::operator() ( const Element< G > &  elmX,
const Element< G > &  elmY,
ElementMatrix< F > &  em,
const ElementPair< G > &  ep 
) const
inlinevirtualinherited

Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em. If this method is not reimplemented in a derived class, the default behaviour is to call the application operator without ep.

Postcondition
The returned matrix em has the correct size.
Parameters
elmXLeft element
elmYRight element
emReturn element matrix
epElement pair holding more information on the pair elmX and elmY

Reimplemented in vectorial::BilinearForm< F, G >.

Definition at line 57 of file bilinearForm.hh.


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