NGSolve
4.9
|
Transformation from reference element to physical element. More...
#include <elementtransformation.hpp>
Public Member Functions | |
ElementTransformation () | |
polymorphism: if specific is set, use it. | |
virtual void | SetElement (bool aboundary, int aelnr, int aelindex) |
set data: is it a boundary, element number, and element index | |
void | SetElementType (ELEMENT_TYPE aet) |
set geometric type of element | |
int | GetElementNr () const |
return element number | |
int | GetElementIndex () const |
return element index | |
ELEMENT_TYPE | GetElementType () const |
return element geometry type | |
virtual void | CalcJacobian (const IntegrationPoint &ip, FlatMatrix<> dxdxi) const =0 |
calculates the Jacobi matrix | |
virtual void | CalcPoint (const IntegrationPoint &ip, FlatVector<> point) const =0 |
calculate the mapped point | |
virtual void | CalcPointJacobian (const IntegrationPoint &ip, FlatVector<> point, FlatMatrix<> dxdxi) const =0 |
calculate point and Jacobi matrix | |
virtual void | CalcMultiPointJacobian (const IntegrationRule &ir, BaseMappedIntegrationRule &mir) const =0 |
Calculate points and Jacobimatrices in all points of integrationrule. | |
void | CalcNormalVector (const IntegrationPoint &ip, FlatVector<> nv, LocalHeap &lh) const |
Calcs the normal vector in ip. | |
virtual int | SpaceDim () const =0 |
returns space dimension of physical elements | |
virtual bool | Boundary () const =0 |
is it a mapping for boundary elements ? | |
void | SetHigherIntegrationOrder (void) |
void | UnSetHigherIntegrationOrder (void) |
bool | HigherIntegrationOrderSet (void) const |
virtual bool | IsCurvedElement () const |
has the element non-constant Jacobian ? | |
virtual void | GetSort (FlatArray< int > sort) const |
virtual BaseMappedIntegrationPoint & | operator() (const IntegrationPoint &ip, LocalHeap &lh) const =0 |
return a mapped integration point on localheap | |
virtual BaseMappedIntegrationRule & | operator() (const IntegrationRule &ir, LocalHeap &lh) const =0 |
return a mapped integration rule on localheap | |
Protected Attributes | |
int | elnr |
element number | |
int | elindex |
material property | |
ELEMENT_TYPE | eltype |
element in R^dim | |
bool | higher_integration_order |
bool | iscurved |
is the element curved ? |
Transformation from reference element to physical element.
ELEMENT_TYPE ngfem::ElementTransformation::eltype [protected] |
element in R^dim
is it a boundary element ? geometry of element