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

#include <formula.hh>

Inheritance diagram for hp2D::ElementFormulaInterpGrad< 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 ElementFormulaInterpGrad< 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...
 
 ElementFormulaInterpGrad (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

std::unique_ptr< const concepts::ElementFormula< F > > f_
 Element formula. More...
 
const concepts::ElementWithCell< Real > * quad_
 Last element. More...
 
bool samePoints_
 Flag, if same number of points in both directions. More...
 
concepts::Array< F > values_
 Values of the element formula in the current quadrilateral. More...
 
concepts::Array< Real > x_ [2]
 Chebychev points. More...
 
bool zeroElement_
 Element with all zero values. More...
 

Detailed Description

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

Definition at line 146 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

◆ ElementFormulaInterpGrad()

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

Member Function Documentation

◆ clone() [1/2]

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

Virtual copy constructor.

Implements concepts::Cloneable.

Definition at line 162 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
pure virtualinherited

Virtual copy constructor.

◆ info()

template<typename F >
virtual std::ostream& hp2D::ElementFormulaInterpGrad< 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::ElementFormulaInterpGrad< 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::ElementFormulaInterpGrad< F, 2 >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 157 of file formula.hh.

◆ operator()() [3/6]

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

Definition at line 151 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< typename Realtype<concepts::Point< F, 2 > >::type > &  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< typename Realtype<concepts::Point< F, 2 > >::type > &  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< typename Realtype<concepts::Point< F, 2 > >::type > &  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

◆ f_

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

Element formula.

Definition at line 169 of file formula.hh.

◆ quad_

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

Last element.

Definition at line 171 of file formula.hh.

◆ samePoints_

template<typename F >
bool hp2D::ElementFormulaInterpGrad< F, 2 >::samePoints_
mutableprivate

Flag, if same number of points in both directions.

Definition at line 175 of file formula.hh.

◆ values_

template<typename F >
concepts::Array<F> hp2D::ElementFormulaInterpGrad< F, 2 >::values_
mutableprivate

Values of the element formula in the current quadrilateral.

Definition at line 177 of file formula.hh.

◆ x_

template<typename F >
concepts::Array<Real> hp2D::ElementFormulaInterpGrad< F, 2 >::x_[2]
mutableprivate

Chebychev points.

Definition at line 173 of file formula.hh.

◆ zeroElement_

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

Element with all zero values.

Definition at line 179 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