hp3D::BilinearFormTwoPartDeriv< F > Class Template Referenceabstract

A class to calculate the element matrices for partial derivatives. More...

#include <bf3D_partialDeriv.hh>

Inheritance diagram for hp3D::BilinearFormTwoPartDeriv< F >:
concepts::BilinearForm< Real > concepts::Cloneable concepts::OutputOperator

Public Member Functions

 BilinearFormTwoPartDeriv (const enum partDerivType &uDeriv, const enum partDerivType &vDeriv)
 
virtual BilinearFormTwoPartDeriv< F > * clone () const
 Virtual constructor. More...
 
virtual BilinearForm * clone () const=0
 Virtual constructor. More...
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 
virtual void operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< F > &em) const
 
virtual void operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em) const=0
 Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em. More...
 
virtual void operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em, const ElementPair< typename Realtype< Real >::type > &ep) const
 Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em. More...
 
virtual ~BilinearFormTwoPartDeriv ()
 

Private Member Functions

void operator() (const Hexahedron &elmX, const Hexahedron &elmY, concepts::ElementMatrix< F > &em) const
 

Private Attributes

concepts::Array< concepts::MapReal3dintermediateMatrix_
 
concepts::Array< F > intermediateValue_
 
enum partDerivType uDeriv_ vDeriv_
 

Detailed Description

template<class F = Real>
class hp3D::BilinearFormTwoPartDeriv< F >

A class to calculate the element matrices for partial derivatives.

Author
Philipp Kliewe, 2013

Definition at line 42 of file bf3D_partialDeriv.hh.

Constructor & Destructor Documentation

◆ BilinearFormTwoPartDeriv()

template<class F = Real>
hp3D::BilinearFormTwoPartDeriv< F >::BilinearFormTwoPartDeriv ( const enum partDerivType uDeriv,
const enum partDerivType vDeriv 
)

◆ ~BilinearFormTwoPartDeriv()

template<class F = Real>
virtual hp3D::BilinearFormTwoPartDeriv< F >::~BilinearFormTwoPartDeriv ( )
inlinevirtual

Definition at line 47 of file bf3D_partialDeriv.hh.

Member Function Documentation

◆ clone() [1/2]

template<class F = Real>
virtual BilinearFormTwoPartDeriv<F>* hp3D::BilinearFormTwoPartDeriv< F >::clone ( ) const
inlinevirtual

Virtual constructor.

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

Implements concepts::Cloneable.

Definition at line 49 of file bf3D_partialDeriv.hh.

◆ clone() [2/2]

virtual BilinearForm* concepts::BilinearForm< Real , typename Realtype<Real >::type >::clone ( ) const
pure virtualinherited

Virtual constructor.

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

◆ info()

template<class F = Real>
virtual std::ostream& hp3D::BilinearFormTwoPartDeriv< F >::info ( std::ostream &  os) const
virtual

Returns information in an output stream.

Reimplemented from concepts::BilinearForm< Real >.

◆ operator()() [1/4]

template<class F = Real>
virtual void hp3D::BilinearFormTwoPartDeriv< F >::operator() ( const concepts::Element< Real > &  elmX,
const concepts::Element< Real > &  elmY,
concepts::ElementMatrix< F > &  em 
) const
virtual

◆ operator()() [2/4]

virtual void concepts::BilinearForm< Real , typename Realtype<Real >::type >::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

◆ operator()() [3/4]

virtual void concepts::BilinearForm< Real , typename Realtype<Real >::type >::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

Definition at line 57 of file bilinearForm.hh.

◆ operator()() [4/4]

template<class F = Real>
void hp3D::BilinearFormTwoPartDeriv< F >::operator() ( const Hexahedron elmX,
const Hexahedron elmY,
concepts::ElementMatrix< F > &  em 
) const
private

Member Data Documentation

◆ intermediateMatrix_

template<class F = Real>
concepts::Array<concepts::MapReal3d> hp3D::BilinearFormTwoPartDeriv< F >::intermediateMatrix_
mutableprivate

Definition at line 63 of file bf3D_partialDeriv.hh.

◆ intermediateValue_

template<class F = Real>
concepts::Array<F> hp3D::BilinearFormTwoPartDeriv< F >::intermediateValue_
mutableprivate

Definition at line 62 of file bf3D_partialDeriv.hh.

◆ vDeriv_

template<class F = Real>
enum partDerivType uDeriv_ hp3D::BilinearFormTwoPartDeriv< F >::vDeriv_
private

Definition at line 57 of file bf3D_partialDeriv.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