|
| ParametricSurface () |
|
| ParametricSurface (const String &name, const Matrix &ischeme, const Ref< StdShape > &xshape, const Ref< StdShape > &sshape=NIL) |
|
virtual void | getGlobalIntegrationPoints (const Matrix &x, const Matrix &c) const |
| Computes the integration points in the global coordinate system. More...
|
|
virtual void | getIntegrationWeights (const Vector &w, const Matrix &c) const |
| Computes the integration weights in the global coordinate system. More...
|
|
virtual void | getGlobalPoint (const Vector &x, const Vector &u, const Matrix &c) const |
| Converts a local coordinate vector to a global coordinate vector. More...
|
|
virtual bool | getLocalPoint (const Vector &u, const Vector &x, double eps, const Matrix &c) const |
| Converts a global coordinate vector to a local coordinate vector. More...
|
|
virtual void | evalNormal (const Vector &q, const Vector &u, const Matrix &c) const |
| Computes the normal vector in a given point. More...
|
|
virtual void | calcNormals (const Matrix &q, const Vector *w, const Matrix &c, const PointSet &points) const |
|
| ParametricBoundary () |
|
| ParametricBoundary (const String &name, const Matrix &ischeme, const Ref< StdShape > &xshape, const Ref< StdShape > &sshape=NIL) |
|
virtual void | readFrom (ObjectInput &in) |
|
virtual void | writeTo (ObjectOutput &out) const |
|
virtual idx_t | localRank () const |
| Returns the local rank of this shape. More...
|
|
virtual idx_t | nodeCount () const |
| Returns the number of nodes. More...
|
|
virtual idx_t | vertexCount () const |
|
virtual idx_t | ipointCount () const |
|
virtual idx_t | shapeFuncCount () const |
| Returns the number of shape functions. More...
|
|
virtual String | getGeometry () const |
|
Vector | getLocalWeights () const |
|
virtual Matrix | getVertexCoords () const |
|
virtual Matrix | getIntegrationScheme () const |
|
virtual bool | containsLocalPoint (const Vector &u) const |
| Tests whether a point lies within this shape. More...
|
|
virtual Matrix | getShapeFunctions () const |
| Returns the shape functions evaluated in the integration points. More...
|
|
virtual Matrix | getVertexFunctions () const |
|
virtual void | evalShapeFunctions (const Vector &h, const Vector &u) const |
| Computes the shape functions in a given point. More...
|
|
virtual void | getNormals (const Matrix &q, const Vector &w, const Matrix &c) const |
| Computes the normal vectors in the integration points. More...
|
|
virtual void | getVertexNormals (const Matrix &q, const Matrix &c) const |
|
virtual void * | getExtByID (ExtensionID extID) const |
|
StdShape * | getXShape () const |
|
StdShape * | getSShape () const |
|
virtual int | globalRank () const |
| Returns the global rank of this shape. More...
|
|
virtual void | getNodeNormals (const Matrix &q, const Matrix &c) const =0 |
| Computes the normal vectors in the nodes of this shape. More...
|
|
virtual jem::Class * | getClass () const |
| Returns the Class instance representing the runtime class of this object. More...
|
|
virtual int | integrationPointCount () const =0 |
| Returns the number of integration points. More...
|
|
virtual Matrix | getLocalNodeCoords () const =0 |
| Returns the coordinates of the nodes in the local coordinate system. More...
|
|
virtual Matrix | getIntegrationPoints () const =0 |
| Returns the integration points in the local coordinate system. More...
|
|
virtual String | toString () const |
| Returns a short textual description of this object. More...
|
|
virtual long | hashValue () const |
| Returns a hash value for this object. More...
|
|
virtual bool | equals (const Ref< Object > &obj) const |
| Tests whether two objects are equal. More...
|
|
Ref< Object > | clone () const |
| Returns a copy of this object. More...
|
|
virtual bool jive::geom::ParametricSurface::getLocalPoint |
( |
const Vector & |
u, |
|
|
const Vector & |
x, |
|
|
double |
eps, |
|
|
const Matrix & |
c |
|
) |
| const |
|
virtual |
This function tries to convert a global coordinate vector to a local coordinate vector. It returns true
if the conversion succeeds and the global coordinate vector points to a location `near' this shape. Otherwise it returns false
.
If the return value equals true
, the vector u will contain the local coordinate vector: u
[i] will be set to the i-th local coordinate. The vector x should contain the global coordinate vector to be converted: x
[i] should be equal to the i-th global coordinate. The double eps specifies the maximum allowed distance – in the global coordinate system – between this shape and the location pointed to by the vector x. The matrix c should contain the global node coordinates: c(i,j)
should be equal to the i-th coordinate of the j-th node.
Note that a shape class does not have to support this function. In fact, the default implementation of this function simply throws a jem::IllegalOperationException
.
- Parameters
-
u | - a vector that will be filled with the local coordinates of the point specified by the global coordinate vector x. |
x | - a global coordinate vector. |
eps | - the maximum allowed distance between the specified point and this shape. |
c | - a matrix containing the global node coordinates. |
- Precondition
u.size() == this->localRank() &&
x.size() == this->globalRank() &&
eps > 0.0 &&
c.size(0) == this->globalRank() &&
c.size(1) == this->nodeCount()
- Returns
true
if the conversion succeeds, and false
otherwise.
Reimplemented from jive::geom::ParametricBoundary.