A virtual class to serve as base class for different types of interface segmentsconstruct a single interface.
More...
|
|
| | Segment (int id, int nnode, int *nodeId, int outlevel) |
| | Standard Constructor. More...
|
| |
|
| Segment (int id, const std::vector< int > &nodeId, int outlevel) |
| |
| | Segment (int outlevel) |
| | Empty Constructor. More...
|
| |
| | Segment (MOERTEL::Segment &old) |
| | Copy Constructor. More...
|
| |
|
virtual | ~Segment () |
| | Destructor.
|
| |
|
|
int | OutLevel () |
| | Return level of output to be generated by this class (0-10)
|
| |
|
int | Id () const |
| | Return unique id of this Segment.
|
| |
|
int | Nnode () const |
| | Return number of nodes attached to this Segment.
|
| |
|
MOERTEL::Segment::SegmentType | Type () const |
| | Return type of Segment.
|
| |
|
const int * | NodeIds () const |
| | Return view of node ids of nodes attached to this Segment.
|
| |
|
MOERTEL::Node ** | Nodes () |
| | Return pointer to vector of length Nnode() of pointers to Nodes attached to this Segment.
|
| |
|
int | Nfunctions () |
| | Return number of functions defined on this Segment.
|
| |
| MOERTEL::Function::FunctionType | FunctionType (int id) |
| | Return FunctionType of a function with the Id id. More...
|
| |
| bool | SetFunction (int id, MOERTEL::Function *func) |
| | Attach a function to this Segment. More...
|
| |
| bool | EvaluateFunction (int id, const double *xi, double *val, int valdim, double *deriv) |
| | Evaluate a function with a certain id. More...
|
| |
| double * | BuildNormalAtNode (int nid) |
| | Build normal at a node adjacent to this Segment. More...
|
| |
|
bool | GetPtrstoNodes (MOERTEL::Interface &interface) |
| | Get pointers to Nodes attached to this Segment from the Interface this Segment resides on.
|
| |
|
bool | GetPtrstoNodes (std::vector< MOERTEL::Node *> &nodes) |
| | Get pointers to Nodes attached to this Segment from a vector of Node pointers.
|
| |
|
virtual bool | Print () const |
| | Print this Segment.
|
| |
|
int | GetLocalNodeId (int nid) |
| | Get segment-local node id from global node id nid.
|
| |
|
|
virtual MOERTEL::Segment * | Clone ()=0 |
| | Deep copy the derived class and return pointer to it.
|
| |
|
virtual int * | Pack (int *size)=0 |
| | Pack some data from this class to an int vector of length size so it can be communicated using MPI.
|
| |
|
virtual bool | UnPack (int *pack)=0 |
| | Unpack some data an int vector and store data in this class.
|
| |
|
virtual double * | BuildNormal (double *xi)=0 |
| | Build an outward normal at segment coordinates xi.
|
| |
|
virtual double | Area ()=0 |
| | Compute and return the area of this Segment.
|
| |
|
virtual double | Metric (double *xi, double g[], double G[][3])=0 |
| | Build the basis vectors and metric tensor at a given local coord in this segment.
|
| |
|
virtual bool | LocalCoordinatesOfNode (int lid, double *xi)=0 |
| | Get local coords of a node attached to this segment with local node Id lid.
|
| |
A virtual class to serve as base class for different types of interface segmentsconstruct a single interface.
A virtual class as a basis for different types of interface segments
- Date
- Last update to Doxygen: 15-Dec-05
This class serves as a (not pure) virtual base class to several types of interface segments.
The MOERTEL::Segment class supports the ostream& operator <<
- Author
- Glen Hansen (gahan.nosp@m.se@s.nosp@m.andia.nosp@m..gov)