hp2D::ElementFormulaInterpGradN< F, 2 > Class Template Referenceabstract

#include <formula.hh>

Inheritance diagram for hp2D::ElementFormulaInterpGradN< F, 2 >:
concepts::ElementFormula< concepts::Point< F, 2 > > concepts::Cloneable concepts::OutputOperator

Public Types

typedef concepts::Point< F, 2 > value_type
 

Public Member Functions

virtual ElementFormulaInterpGradN< F, 2 > * clone () const
 Virtual copy constructor. More...
 
virtual ElementFormula< concepts::Point< F, 2 >, typename Realtype< concepts::Point< F, 2 > >::type > * clone () const=0
 Virtual copy constructor. More...
 
 ElementFormulaInterpGradN (const concepts::ElementFormula< F > &f)
 
virtual concepts::Point< F, 2 > operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real2d &p, const Real t=0.0) const
 
virtual concepts::Point< F, 2 > operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real3d &p, const Real t=0.0) const
 
virtual concepts::Point< F, 2 > operator() (const concepts::ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const
 
virtual concepts::Point< F, 2 > operator() (const ElementWithCell< typename Realtype< concepts::Point< F, 2 > >::type > &elm, const Real p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual concepts::Point< F, 2 > operator() (const ElementWithCell< typename Realtype< concepts::Point< F, 2 > >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual concepts::Point< F, 2 > operator() (const ElementWithCell< typename Realtype< concepts::Point< F, 2 > >::type > &elm, const Real3d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 

Protected Member Functions

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

Private Attributes

concepts::Array< F > coeff_
 Coefficients of the formula after projection. More...
 
std::unique_ptr< const concepts::ElementFormula< F > > f_
 Element formula. More...
 
const concepts::ElementWithCell< Real > * quad_
 Last element. More...
 
bool zeroElement_
 Element with all zero values. More...
 

Detailed Description

template<typename F>
class hp2D::ElementFormulaInterpGradN< F, 2 >

Definition at line 196 of file formula.hh.

Member Typedef Documentation

◆ value_type

typedef concepts::Point< F, 2 > concepts::ElementFormula< concepts::Point< F, 2 > , typename Realtype<concepts::Point< F, 2 > >::type >::value_type
inherited

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ ElementFormulaInterpGradN()

template<typename F >
hp2D::ElementFormulaInterpGradN< F, 2 >::ElementFormulaInterpGradN ( const concepts::ElementFormula< F > &  f)

Member Function Documentation

◆ clone() [1/2]

template<typename F >
virtual ElementFormulaInterpGradN<F,2>* hp2D::ElementFormulaInterpGradN< F, 2 >::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::Cloneable.

Definition at line 212 of file formula.hh.

◆ clone() [2/2]

virtual ElementFormula<concepts::Point< F, 2 > ,typename Realtype<concepts::Point< F, 2 > >::type >* concepts::ElementFormula< concepts::Point< F, 2 > , typename Realtype<concepts::Point< F, 2 > >::type >::clone ( ) const
pure virtualinherited

Virtual copy constructor.

◆ info()

template<typename F >
virtual std::ostream& hp2D::ElementFormulaInterpGradN< F, 2 >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()() [1/6]

template<typename F >
virtual concepts::Point<F,2> hp2D::ElementFormulaInterpGradN< F, 2 >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real2d p,
const Real  t = 0.0 
) const
virtual

◆ operator()() [2/6]

template<typename F >
virtual concepts::Point<F,2> hp2D::ElementFormulaInterpGradN< F, 2 >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 207 of file formula.hh.

◆ operator()() [3/6]

template<typename F >
virtual concepts::Point<F,2> hp2D::ElementFormulaInterpGradN< F, 2 >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 201 of file formula.hh.

◆ operator()() [4/6]

virtual concepts::Point< F, 2 > concepts::ElementFormula< concepts::Point< F, 2 > , typename Realtype<concepts::Point< F, 2 > >::type >::operator() ( const ElementWithCell< G > &  elm,
const Real  p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [5/6]

virtual concepts::Point< F, 2 > concepts::ElementFormula< concepts::Point< F, 2 > , typename Realtype<concepts::Point< F, 2 > >::type >::operator() ( const ElementWithCell< G > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [6/6]

virtual concepts::Point< F, 2 > concepts::ElementFormula< concepts::Point< F, 2 > , typename Realtype<concepts::Point< F, 2 > >::type >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

Member Data Documentation

◆ coeff_

template<typename F >
concepts::Array<F> hp2D::ElementFormulaInterpGradN< F, 2 >::coeff_
mutableprivate

Coefficients of the formula after projection.

Definition at line 223 of file formula.hh.

◆ f_

template<typename F >
std::unique_ptr<const concepts::ElementFormula<F> > hp2D::ElementFormulaInterpGradN< F, 2 >::f_
private

Element formula.

Definition at line 219 of file formula.hh.

◆ quad_

template<typename F >
const concepts::ElementWithCell<Real>* hp2D::ElementFormulaInterpGradN< F, 2 >::quad_
mutableprivate

Last element.

Definition at line 221 of file formula.hh.

◆ zeroElement_

template<typename F >
bool hp2D::ElementFormulaInterpGradN< F, 2 >::zeroElement_
mutableprivate

Element with all zero values.

Definition at line 225 of file formula.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