template<class F = Real>
class hp1D::IdentityParallel< F >
A function class to calculate element matrices for the mass matrix for elements that are shifted. There are two independent coordinate shifts for the trial and test function. In contrast to hp1D::Identity the elements do not need to have overlapping support but their shifted start and end points have to be identical. Note that the orientation of the two elements may also be of reverse direction. If negShift
is set to true it is checked as well whether a coordinate shift with opposite sign matches the criterion.
- Author
- Dirk Klindworth, 2011
Definition at line 93 of file bilinearForm.hh.
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 >.
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.