Holds xi^(1), xi^(2), and other data for a given mortar segment. More...
#include <MortarSegmentInfo.h>
Public Member Functions | |
MortarSegmentInfo () | |
Constructor. More... | |
MortarSegmentInfo (Real x1a, Real x1b, Real x2a, Real x2b) | |
Construct a MortarSegmentInfo object with the given xi values. More... | |
void | print () const |
Prints xi values and secondary/primary Elem ids. More... | |
bool | isValid () const |
Returns true if the current segment is valid, false otherwise. More... | |
bool | hasPrimary () const |
Returns true if this segment has a valid primary, false otherwise. More... | |
Public Attributes | |
Real | xi1_a |
Real | xi1_b |
Real | xi2_a |
Real | xi2_b |
const Elem * | secondary_elem |
const Elem * | primary_elem |
Static Public Attributes | |
static const Real | invalid_xi = 99 |
Holds xi^(1), xi^(2), and other data for a given mortar segment.
Definition at line 31 of file MortarSegmentInfo.h.
MortarSegmentInfo::MortarSegmentInfo | ( | ) |
Constructor.
The invalid_xi value means that the values have not been set. Valid values are in [-1,1]. xi1 values should always be valid for any segment, but one or both xi2 values can be uninitialized when the surfaces are not in contact.
Definition at line 20 of file MortarSegmentInfo.C.
Construct a MortarSegmentInfo object with the given xi values.
Definition at line 30 of file MortarSegmentInfo.C.
bool MortarSegmentInfo::hasPrimary | ( | ) | const |
Returns true if this segment has a valid primary, false otherwise.
bool MortarSegmentInfo::isValid | ( | ) | const |
Returns true if the current segment is valid, false otherwise.
The segment can be "invalid" for a host of different reasons, see the list below.
Definition at line 47 of file MortarSegmentInfo.C.
void MortarSegmentInfo::print | ( | ) | const |
Prints xi values and secondary/primary Elem ids.
Definition at line 36 of file MortarSegmentInfo.C.
|
static |
Definition at line 72 of file MortarSegmentInfo.h.
Referenced by AutomaticMortarGeneration::buildMortarSegmentMesh(), and isValid().
const Elem* MortarSegmentInfo::primary_elem |
Definition at line 68 of file MortarSegmentInfo.h.
Referenced by AutomaticMortarGeneration::buildMortarSegmentMesh(), AutomaticMortarGeneration::buildMortarSegmentMesh3d(), isValid(), Moose::Mortar::loopOverMortarSegments(), and print().
const Elem* MortarSegmentInfo::secondary_elem |
Definition at line 67 of file MortarSegmentInfo.h.
Referenced by AutomaticMortarGeneration::buildMortarSegmentMesh(), AutomaticMortarGeneration::buildMortarSegmentMesh3d(), AutomaticMortarGeneration::computeInactiveLMElems(), AutomaticMortarGeneration::computeInactiveLMNodes(), AutomaticMortarGeneration::computeIncorrectEdgeDroppingInactiveLMNodes(), isValid(), Moose::Mortar::loopOverMortarSegments(), and print().
Real MortarSegmentInfo::xi1_a |
Definition at line 65 of file MortarSegmentInfo.h.
Referenced by AutomaticMortarGeneration::buildMortarSegmentMesh(), isValid(), Moose::Mortar::loopOverMortarSegments(), and print().
Real MortarSegmentInfo::xi1_b |
Definition at line 65 of file MortarSegmentInfo.h.
Referenced by AutomaticMortarGeneration::buildMortarSegmentMesh(), isValid(), Moose::Mortar::loopOverMortarSegments(), and print().
Real MortarSegmentInfo::xi2_a |
Definition at line 66 of file MortarSegmentInfo.h.
Referenced by AutomaticMortarGeneration::buildMortarSegmentMesh(), isValid(), Moose::Mortar::loopOverMortarSegments(), and print().
Real MortarSegmentInfo::xi2_b |
Definition at line 66 of file MortarSegmentInfo.h.
Referenced by AutomaticMortarGeneration::buildMortarSegmentMesh(), isValid(), Moose::Mortar::loopOverMortarSegments(), and print().