Derived class for management of condensed DOFs (Degrees Of Freedom) at a node. More...
#include <substructs.h>
Public Member Functions | |
PointDOFsCondense (long gid, const Element *owner) | |
CONSTRUCTOR. More... | |
PointDOFsCondense (const PointDOFsCondense *src, const GeometryComponent *owner) | |
CONSTRUCTOR COPY. More... | |
virtual | ~PointDOFsCondense () |
DESTRUCTOR. More... | |
virtual void | checkConsistency (void) const |
Checks data consistency. More... | |
void | set_full_hinge (bool noXrot) |
Sets all rotation DOFs to be condensed. More... | |
bool | is_full_hinge (void) const |
Returns true if all rotation DOFs are condensed. More... | |
![]() | |
PointDOFsAttributes (long gid, const GeometryComponent *owner) | |
CONSTRUCTOR. More... | |
PointDOFsAttributes (long gid, const Problem *owner) | |
CONSTRUCTOR. More... | |
PointDOFsAttributes (const PointDOFsAttributes *src, const GeometryComponent *owner) | |
CONSTRUCTOR COPY. More... | |
virtual | ~PointDOFsAttributes () |
DESTRUCTOR. More... | |
void | set_ndofs (int n) |
void | set_att (int i, int val) |
void | set_ndofsatt (int n, int *val) |
void | set_ndofsatt (int n, long *val) |
int | give_ndofs (void) const |
int | give_att (int i) const |
int | give_mask (int i) const |
const int * | give_att (void) const |
const int * | give_mask (void) const |
bool | mask_is_null (void) const |
bool | is_identical_with (const PointDOFsAttributes *src) const |
void | scan_ndofs_new (const char *&str) |
*** SCAN *** More... | |
void | scan_att_ndofs_new (const char *&str) |
void | scan_mask_ndofs_new (const char *&str) |
void | scan_ndofs_expected (const char *&str) |
void | scan_att_ndofs_expected (const char *&str) |
void | scan_mask_ndofs_expected (const char *&str) |
void | rescan_att (const char *&str) |
void | scan_att (const char *&str) |
void | scan_mask (const char *&str) |
void | scan_att_new_sparse (const char *&str) |
![]() | |
GeomCompSubject (long gid) | |
CONSTRUCTOR. More... | |
GeomCompSubject (long gid, const Problem *owner) | |
CONSTRUCTOR. More... | |
GeomCompSubject (long gid, const Geometry *owner) | |
CONSTRUCTOR. More... | |
GeomCompSubject (long gid, const GeometryComponent *owner) | |
CONSTRUCTOR. More... | |
virtual | ~GeomCompSubject () |
DESTRUCTOR. More... | |
void | set_GC (const GeometryComponent *owner) |
const GeometryComponent * | give_GC (void) const |
![]() | |
GeometrySubject (long gid) | |
CONSTRUCTOR. More... | |
GeometrySubject (long gid, const Problem *owner) | |
CONSTRUCTOR. More... | |
GeometrySubject (long gid, const Geometry *owner) | |
CONSTRUCTOR. More... | |
virtual | ~GeometrySubject () |
DESTRUCTOR. More... | |
void | set_Geom (const Geometry *owner) |
void | reset_Geom (const Geometry *owner) |
const Geometry * | give_Geom (void) const |
![]() | |
ProblemSubject (long gid) | |
CONSTRUCTOR. More... | |
ProblemSubject (long gid, const Problem *owner) | |
CONSTRUCTOR. More... | |
virtual | ~ProblemSubject () |
DESTRUCTOR. More... | |
virtual classID | give_classid () const |
Returns classID - class identification. More... | |
virtual void | initialize (void) |
= 0; = 0; More... | |
virtual void | finitialize (void) |
finalize problem preprocessing More... | |
void | set_ID (long val) |
long | give_ID () const |
void | set_Pd (const Problem *owner) |
const Problem * | give_Pd (void) const |
Additional Inherited Members | |
![]() | |
int | ndofs |
Number of DOFs at a node. More... | |
int * | att |
Attribute array is "ndofs" long. More... | |
int * | mask |
Mask array is "ndofs" long. More... | |
![]() | |
const GeometryComponent * | GC |
Pointer to owner == parent geometry component. More... | |
![]() | |
const Geometry * | Geom |
Pointer to owner == parent geometry. More... | |
![]() | |
long | ID |
(global) identification number == position in list of members; zero-based numbering. More... | |
const Problem * | Pd |
Pointer to owner = parent problem. More... | |
Derived class for management of condensed DOFs (Degrees Of Freedom) at a node.
ndofs = DOFsPerNode2nDOFs(GC->give_DOFsPerNode()) The array att stores bool information, where value true means "condensed".
The array mask == NULL. DOF mask is given by DOFsPerNode2dofBCmask (Pd->give_DOFsPerNode());
Definition at line 287 of file substructs.h.
midaspace::PointDOFsCondense::PointDOFsCondense | ( | long | gid, |
const Element * | owner | ||
) |
CONSTRUCTOR.
Definition at line 13 of file substructs.cpp.
References midaspace::PointDOFsAttributes::att, midaspace::DOFsPerNode2nDOFs(), midaspace::ElemAttribs::give_dpn(), midaspace::Element::give_elemAttribs(), midaspace::PointDOFsAttributes::mask, and midaspace::PointDOFsAttributes::ndofs.
|
inline |
|
inlinevirtual |
DESTRUCTOR.
Definition at line 295 of file substructs.h.
|
inlinevirtual |
Checks data consistency.
Reimplemented from midaspace::PointDOFsAttributes.
Definition at line 298 of file substructs.h.
References midaspace::PointDOFsAttributes::att, midaspace::PointDOFsAttributes::checkConsistency(), errol, midaspace::PointDOFsAttributes::mask, and midaspace::PointDOFsAttributes::ndofs.
bool midaspace::PointDOFsCondense::is_full_hinge | ( | void | ) | const |
Returns true if all rotation DOFs are condensed.
all rotation dofs are condensed
Definition at line 35 of file substructs.cpp.
References midaspace::PointDOFsAttributes::att, midaspace::DPN_DxyzRxyz, errol, and midaspace::GeomCompSubject::GC.
void midaspace::PointDOFsCondense::set_full_hinge | ( | bool | noXrot | ) |
Sets all rotation DOFs to be condensed.
Definition at line 21 of file substructs.cpp.
References midaspace::PointDOFsAttributes::att, midaspace::DPN_DxyzRxyz, errol, and midaspace::GeomCompSubject::GC.