#include <jive/geom/StdPumShape.h>
jive::geom::StdPumShape::StdPumShape |
( |
| ) |
|
jive::geom::StdPumShape::StdPumShape |
( |
const SShapeVector & |
shapes | ) |
|
|
explicit |
virtual jive::geom::StdPumShape::~StdPumShape |
( |
| ) |
|
|
protectedvirtual |
virtual void jive::geom::StdPumShape::readFrom |
( |
ObjectInput & |
in | ) |
|
|
virtual |
virtual void jive::geom::StdPumShape::writeTo |
( |
ObjectOutput & |
out | ) |
const |
|
virtual |
virtual idx_t jive::geom::StdPumShape::rank |
( |
| ) |
const |
|
virtual |
Returns the rank (number of dimensions) of the local coordinate system of this shape.
- Returns
- The rank of this shape.
Implements jive::geom::StdShape.
virtual idx_t jive::geom::StdPumShape::shapeFuncCount |
( |
| ) |
const |
|
virtual |
virtual String jive::geom::StdPumShape::getGeometry |
( |
| ) |
const |
|
virtual |
virtual bool jive::geom::StdPumShape::isLinear |
( |
| ) |
const |
|
virtual |
virtual idx_t jive::geom::StdPumShape::vertexCount |
( |
| ) |
const |
|
virtual |
virtual Matrix jive::geom::StdPumShape::getVertexCoords |
( |
| ) |
const |
|
virtual |
virtual bool jive::geom::StdPumShape::containsPoint |
( |
const Vector & |
u | ) |
const |
|
virtual |
Returns true
if the point specified by the local coordinate vector u lies within this shape, and false
otherwise.
- Parameters
-
u | - a local coordinate vector. |
- Precondition
u.size() == this->rank()
- Returns
true
if the specified point lies within this shape, and false
otherwise.
Implements jive::geom::StdShape.
virtual bool jive::geom::StdPumShape::clipPoint |
( |
const Vector & |
u | ) |
const |
|
virtual |
virtual void jive::geom::StdPumShape::evalShapeFunctions |
( |
const Vector & |
h, |
|
|
const Vector & |
u |
|
) |
| const |
|
virtual |
Fills the vector h with the values of the shape functions in a specific point within this shape: h
[i] is set to the i-th shape function in that point. The vector u should contain the local coordinates of the point: u
[i] should be equal to the i-th local coordinate.
- Parameters
-
h | - a vector that will be filled with the values of the shape functions in a specific point within this shape. |
u | - a vector containing the local coordinates of the specified point. |
- Precondition
h.size() == this->nodeCount() &&
u.size() == this->rank() && this->containsPoint ( u )
Implements jive::geom::StdShape.
virtual void jive::geom::StdPumShape::evalShapeGradients |
( |
const Vector & |
f, |
|
|
const Matrix & |
g, |
|
|
const Vector & |
u |
|
) |
| const |
|
virtual |
virtual void jive::geom::StdPumShape::evalShapeGradGrads |
( |
const Vector & |
f, |
|
|
const Matrix & |
g, |
|
|
const Matrix & |
h, |
|
|
const Vector & |
u |
|
) |
| const |
|
virtual |
virtual void* jive::geom::StdPumShape::getExtByID |
( |
ExtensionID |
extID | ) |
const |
|
virtual |
static void jive::geom::StdPumShape::declare |
( |
| ) |
|
|
static |