#include <bf_partialderiv.hh>
Public Member Functions | |
BilinearFormOnePartDeriv (const enum partDerivType i, const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >()) | |
virtual BilinearFormOnePartDeriv< F > * | clone () const |
virtual void | operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< F > &em) const |
virtual void | operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const =0 |
virtual void | operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em, const ElementPair< G > &ep) const |
void | data (const concepts::RCP< concepts::SharedJacobianAdj< 2 > > d) |
Set the pointer to the shared data. | |
concepts::RCP< concepts::SharedJacobianAdj< 2 > > | data () const |
Gets the pointer to the shared data. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
void | computeIntermediate_ (const BaseQuad< concepts::Real > &elm, const int i) const |
Protected Attributes | |
ArrayElementFormula< concepts::Point< F, 2 > > | intermediateVector_ |
concepts::ElementFormulaContainer< F > | frm_ |
ElementFormula. | |
concepts::RCP< concepts::SharedJacobianAdj< 2 > > | sharedData_ |
Shared data for vectorial bilinear forms. | |
A function class to calculate element matrices for the bilinear form related to a partial derivative of the test functions (scalar).
The shape functions on the physical cell are defined by standard mapping local shape functions defined on the reference square .
The class can be used to construct other bilinear forms, also for vectorial functions.
Definition at line 85 of file bf_partialderiv.hh.
hp2D::BilinearFormOnePartDeriv< F >::BilinearFormOnePartDeriv | ( | const enum partDerivType | i, |
const concepts::ElementFormulaContainer< F > | frm = concepts::ElementFormulaContainer< F >() |
||
) |
Constructor
i | Direction of the partial derivative of the test function, X for and Y for . |
|
inlinevirtual |
Definition at line 98 of file bf_partialderiv.hh.
|
inlinevirtual |
Virtual constructor. Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::BilinearForm< F, G >.
Definition at line 100 of file bf_partialderiv.hh.
|
protectedinherited |
Compute the intermediate data for element matrix computation
i | take only i-th column of Jacobian matrix (for test function) |
This method is important for the derivated bilinear forms.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::BilinearForm< F, G >.
|
pure virtualinherited |
Evaluates the bilinear form for all shape functions on elmX
and elmY
and stores the result in the matrix em
.
em
has the correct size. 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 >.
|
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
.
em
has the correct size. 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.
|
protectedinherited |
ElementFormula.
Definition at line 103 of file bilinearFormHelper.hh.
|
mutableprotectedinherited |
Intermediate vector (on each quadrature point)
Definition at line 101 of file bilinearFormHelper.hh.
|
protectedinherited |
Shared data for vectorial bilinear forms.
Definition at line 106 of file bilinearFormHelper.hh.