#include <bf_identity.hh>
template<class F = Real>
class hp2D::Identity< F >
A function class to calculate element matrices for the mass matrix.
- Test:
- test::TestMatrices2D
- Author
- Kersten Schmidt, 2003
- Examples
- BGT_0.cc, RobinBCs.cc, exactDtN.cc, howToGetStarted.cc, hpFEM2d.cc, inhomDirichletBCs.cc, inhomDirichletBCsLagrange.cc, inhomNeumannBCs.cc, and parallelizationTutorial.cc.
Definition at line 57 of file bf_identity.hh.
◆ clone()
Virtual constructor. Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::BilinearForm< F, G >.
◆ computeIntermediate_()
Compute the intermediate data for element matrix computation
This method is important for the derivated linear forms.
◆ formula()
◆ info()
template<class F = Real>
virtual std::ostream & hp2D::Identity< F >::info |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtual |
◆ operator()() [1/2]
template<class F , class G = typename Realtype<F>::type>
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 |
Implemented in vectorial::BilinearForm< F, G >, concepts::BilinearFormLiCo< F, G >, concepts::BilinearFormContainer< F, G >, concepts::BilinearF_Sum< F, H, J, G >, and concepts::BilinearF_W< F, H, J, G >.
◆ operator()() [2/2]
template<class F , class G = typename Realtype<F>::type>
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 and elmY |
Reimplemented in vectorial::BilinearForm< F, G >.
Definition at line 57 of file bilinearForm.hh.
◆ frm_
◆ intermediateValue_
template<class F >
|
mutableprotectedinherited |
◆ sharedData_
The documentation for this class was generated from the following file: