#include <mrtr_point.H>
Public Member Functions | |
Point (const int id, const double *xi, int out) | |
Constructor. | |
virtual | ~Point () |
Destructor. | |
int | OutLevel () |
Return the level of output written to stdout ( 0 - 10 ). | |
void | Print () const |
Print this node to stdout. | |
int | Id () |
Return id of this point. | |
const double * | Xi () |
Return view of segment local coordinates of this point (2D). | |
const double * | X () |
Return view of global coordinates of this point (3D). | |
RefCountPtr< MOERTEL::Node > | Node () |
Return view of Node. | |
bool | SetXi (const double *xi) |
Set segment local coordinates of this point (2D) in a segment. | |
bool | SetNode (MOERTEL::Node *node) |
Set a Node to this point. | |
void | StoreFunctionValues (int place, double *val, int valdim) |
Store finite element function values at the Point 's coordinate Xi(). | |
vector< double > * | FunctionValues () |
Return view of function values stored in this Point. |
A light weight version of a node
The MOERTEL::Point class supports the ostream& operator <<
MOERTEL::Point::Point | ( | const int | id, | |
const double * | xi, | |||
int | out | |||
) |
Constructor.
Constructs an instance of this class.
Note that this is not a collective call as points shall only have one owning process.
id | : A unique positive point id. | |
xi | : Coordinates of point in a segment (2D) | |
out | : Level of output information written to stdout ( 0 - 10 ) |
vector<double>* MOERTEL::Point::FunctionValues | ( | ) | [inline] |
Return view of function values stored in this Point.
Returns a view of the function values that were stored in this Point using StoreFunctionValues
RefCountPtr<MOERTEL::Node> MOERTEL::Point::Node | ( | ) | [inline] |
bool MOERTEL::Point::SetNode | ( | MOERTEL::Node * | node | ) | [inline] |
void MOERTEL::Point::StoreFunctionValues | ( | int | place, | |
double * | val, | |||
int | valdim | |||
) |
Store finite element function values at the Point 's coordinate Xi().
place | : Place in internal data structure where to store function values. place=0 is used to store trace space function values of the slave segment. place=1 is used to store Lagrange multiplier space function values of the slave segment. place=2 is used to store trace space function values of the master segment. | |
val | : Vector of length valdim holding function values | |
valdim | : Dimension of val |
const double* MOERTEL::Point::X | ( | ) | [inline] |