hp3D::Advection< F > Class Template Referenceabstract
A function class to calculate element matrices of the bilinear form. More...
#include <bilinearForm.hh>
Public Member Functions | |
Advection (const concepts::ElementFormulaContainer< concepts::Point< F, 3 > > frm, bool all=false) | |
Advection (const concepts::ElementFormulaContainer< F > frm1, const concepts::ElementFormulaContainer< F > frm2, const concepts::ElementFormulaContainer< F > frm3, bool all=false) | |
virtual Advection< F > * | clone () const |
Virtual constructor. More... | |
virtual BilinearForm * | clone () const=0 |
Virtual constructor. More... | |
virtual void | operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< F > &em) const |
virtual void | operator() (const Element< Real > &elmX, const Element< Real > &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< Real > &elmX, const Element< Real > &elmY, ElementMatrix< Real > &em, const ElementPair< Real > &ep) const |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em . More... | |
virtual | ~Advection () |
Protected Member Functions | |
void | computeIntermediate_ (const Hexahedron &elm) const |
Compute the intermediate data for element matrix computation. More... | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
concepts::ElementFormulaContainer< concepts::Point< Real, 3 > > | frm_ |
ElementFormula. More... | |
ArrayElementFormula< concepts::Point< Real, 3 > > | intermediateVector_ |
Intermediate vector (on each quadrature point) More... | |
Private Member Functions | |
bool | operator() (const Hexahedron *elmX, const Hexahedron *elmY, concepts::ElementMatrix< F > &em) const |
Assembling for hp3D::Hexahedron. More... | |
Private Attributes | |
bool | all_ |
Detailed Description
template<class F = Real>
class hp3D::Advection< F >
A function class to calculate element matrices of the bilinear form.
Here k is an arbitrary vector-valued function with coefficients. For some k, the resulting matrix might be singular, e.g. k=[0,0].
Definition at line 186 of file bilinearForm.hh.
Constructor & Destructor Documentation
◆ Advection() [1/2]
|
inline |
Definition at line 190 of file bilinearForm.hh.
◆ Advection() [2/2]
|
inline |
Definition at line 197 of file bilinearForm.hh.
◆ ~Advection()
|
inlinevirtual |
Definition at line 203 of file bilinearForm.hh.
Member Function Documentation
◆ clone() [1/2]
|
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 205 of file bilinearForm.hh.
◆ clone() [2/2]
|
pure virtualinherited |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
◆ computeIntermediate_()
|
protectedinherited |
Compute the intermediate data for element matrix computation.
This method is important for the derivated linear forms.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::BilinearForm< Real, Real >.
◆ operator()() [1/4]
|
virtual |
◆ operator()() [2/4]
|
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
-
elmX Left element (test functions) elmY Right element (trial functions) em Return element matrix
◆ operator()() [3/4]
|
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
-
elmX Left element elmY Right element em Return element matrix ep Element pair holding more information on the pair elmX
andelmY
Definition at line 57 of file bilinearForm.hh.
◆ operator()() [4/4]
|
private |
Assembling for hp3D::Hexahedron.
Member Data Documentation
◆ all_
|
private |
Definition at line 216 of file bilinearForm.hh.
◆ frm_
|
protectedinherited |
ElementFormula.
Definition at line 88 of file linearFormHelper.hh.
◆ intermediateVector_
|
mutableprotectedinherited |
The documentation for this class was generated from the following file:
- hp3D/bilinearForm.hh