Linear form in 3D. More...

#include <linearForm.hh>

Inheritance diagram for hp3D::Riesz:
concepts::LinearForm< Real >

Public Member Functions

void operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const
 Computes the element load vector. More...
 
virtual void operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0
 Computes the element contribution to the function. More...
 
void operator() (const Hexahedron &elm, concepts::ElementMatrix< Real > &em) const
 
 Riesz (const concepts::ElementFormulaContainer< Real, Real > &frm, concepts::BoundaryConditions *bc=0)
 Constructor. More...
 
virtual ~Riesz ()
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Attributes

concepts::BoundaryConditionsbc_
 Reference to the boundary conditions. More...
 
concepts::ElementFormulaContainer< Real, Real > frm_
 Formula. More...
 
concepts::Array< Real > jacobian_
 Intermediate data for element matrix computation. More...
 

Detailed Description

Linear form in 3D.

This linear form computes

\[ \int_K f v \, dx. \]

Currently only on hexahedrons.

Author
Philipp Frauenfelder, 2000

Definition at line 46 of file linearForm.hh.

Constructor & Destructor Documentation

◆ Riesz()

hp3D::Riesz::Riesz ( const concepts::ElementFormulaContainer< Real, Real > &  frm,
concepts::BoundaryConditions bc = 0 
)

Constructor.

Parses the formula.

Parameters
frmThe formula
bcBoundary conditions, defaults to homogeneous

◆ ~Riesz()

virtual hp3D::Riesz::~Riesz ( )
virtual

Member Function Documentation

◆ info()

virtual std::ostream& hp3D::Riesz::info ( std::ostream &  os) const
protectedvirtual

Reimplemented from concepts::LinearForm< Real >.

◆ operator()() [1/3]

void hp3D::Riesz::operator() ( const concepts::Element< Real > &  elm,
concepts::ElementMatrix< Real > &  em 
) const

Computes the element load vector.

As for the computation of an element stiffness matrix, there are the loops over all quadrature points and the loops over all shape functions.

Parameters
elmThe element for which the load vector should be computed.
emThe load vector

◆ operator()() [2/3]

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

◆ operator()() [3/3]

void hp3D::Riesz::operator() ( const Hexahedron elm,
concepts::ElementMatrix< Real > &  em 
) const

Member Data Documentation

◆ bc_

concepts::BoundaryConditions* hp3D::Riesz::bc_
private

Reference to the boundary conditions.

Definition at line 76 of file linearForm.hh.

◆ frm_

concepts::ElementFormulaContainer<Real, Real> hp3D::Riesz::frm_
private

Formula.

Definition at line 69 of file linearForm.hh.

◆ jacobian_

concepts::Array<Real> hp3D::Riesz::jacobian_
mutableprivate

Intermediate data for element matrix computation.

Definition at line 72 of file linearForm.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