#include <mrtr_projector.H>
Public Member Functions | |
Projector (bool twoD, int outlevel) | |
Constructor. | |
virtual | ~Projector () |
Destructor. | |
int | OutLevel () |
Return the level of output written to stdout ( 0 - 10 ). | |
bool | IsTwoDimensional () |
Return whether this instance was constructed for 2D or 3D projections. | |
bool | ProjectNodetoSegment_NodalNormal (const MOERTEL::Node &node, MOERTEL::Segment &seg, double xi[]) |
Project a Node onto a Segment along the Node 's normal. | |
bool | ProjectNodetoSegment_SegmentNormal (const MOERTEL::Node &node, MOERTEL::Segment &seg, double xi[]) |
Project a Node onto a Segment along the interpolated outward normal field of the Segment. | |
bool | ProjectNodetoSegment_SegmentOrthogonal (const MOERTEL::Node &node, MOERTEL::Segment &seg, double xi[]) |
Project a Node onto a Segment orthogonal to the Segment (2D problems only). | |
bool | ProjectNodetoSegment_Orthogonal_to_Slave (const MOERTEL::Node &snode, MOERTEL::Segment &seg, double xi[], MOERTEL::Segment &sseg) |
Project a Node onto a Segment orthogonal another Segment (2D problems only). |
MOERTEL::Projector::Projector | ( | bool | twoD, | |
int | outlevel | |||
) | [explicit] |
Constructor.
Constructs an instance of this class.
Note that this is not a collective call as projections are performed in parallel by individual processes.
twoD | : True if problem is 2D, false if problem is 3D | |
outlevel | : Level of output information written to stdout ( 0 - 10 ) |
bool MOERTEL::Projector::ProjectNodetoSegment_NodalNormal | ( | const MOERTEL::Node & | node, | |
MOERTEL::Segment & | seg, | |||
double | xi[] | |||
) |
Project a Node onto a Segment along the Node 's normal.
Used to project a Node from the slave side onto a Segment on the mortar side
This method will compute the coordinates of a projection of a Node in the local coordinate system of a Segment. The projection point will not neccesarily fall inside the Segment. However, if the projection point is far outside the segment's boundaries, problems with the internal nonlinear iteration might occur and a warning is issued when convergence can not be achieved in a limited number of iterations.
bool MOERTEL::Projector::ProjectNodetoSegment_Orthogonal_to_Slave | ( | const MOERTEL::Node & | snode, | |
MOERTEL::Segment & | seg, | |||
double | xi[], | |||
MOERTEL::Segment & | sseg | |||
) |
Project a Node onto a Segment orthogonal another Segment (2D problems only).
Used to project a Node from the slave side onto a Segment on the mortar side orthogonal to some slave Segment
This method will compute the coordinates of a projection of a Node in the local coordinate system of a Segment. The projection point will not neccesarily fall inside the Segment. However, if the projection point is far outside the segment's boundaries, problems with the internal nonlinear iteration might occur and a warning is issued when convergence can not be achieved in a limited number of iterations.
bool MOERTEL::Projector::ProjectNodetoSegment_SegmentNormal | ( | const MOERTEL::Node & | node, | |
MOERTEL::Segment & | seg, | |||
double | xi[] | |||
) |
Project a Node onto a Segment along the interpolated outward normal field of the Segment.
Used to project a Node from the mortar side onto a Segment on the slave side
This method will compute the coordinates of a projection of a Node in the local coordinate system of a Segment. The projection point will not neccesarily fall inside the Segment. However, if the projection point is far outside the segment's boundaries, problems with the internal nonlinear iteration might occur and a warning is issued when convergence can not be achieved in a limited number of iterations.
bool MOERTEL::Projector::ProjectNodetoSegment_SegmentOrthogonal | ( | const MOERTEL::Node & | node, | |
MOERTEL::Segment & | seg, | |||
double | xi[] | |||
) |
Project a Node onto a Segment orthogonal to the Segment (2D problems only).
Used to project a Node from the mortar side onto a Segment on the slave side
This method will compute the coordinates of a projection of a Node in the local coordinate system of a Segment. The projection point will not neccesarily fall inside the Segment. However, if the projection point is far outside the segment's boundaries, problems with the internal nonlinear iteration might occur and a warning is issued when convergence can not be achieved in a limited number of iterations.