Determines the number of FE\_Elements and DOF\_Groups needed from the Domain (a one to one mapping between Elements and FE\_Elements and Nodes and DOF\_Groups) Creates two arrays of pointers to store the FE\_elements and DOF\_Groups, returning a warning message and a
or
if not enough memory is available for these arrays. Then the object will iterate through the Nodes of the Domain, creating a DOF\_Group for each node and setting the initial id for each dof to
if no SP\_Constraint exists for the dof, or
if a SP\_Constraint exists or
if the node identifier is in {nodesToBeNumberedLast}. The object then iterates through the Elements of the Domain creating a FE\_Element for each Element, if the Element is a Subdomain {setFE\_ElementPtr()} is invoked on the Subdomain with the new FE\_Element as the argument. If not enough memory is available for any DOF\_Group or FE\_element a warning message is printed and a
or
is returned. If any MP\_Constraint objects exist in the Domain a warning message is printed and
is returned. If all is successful, the method returns the number of degrees-of-freedom associated with the DOF\_Groups in {nodesToBeNumberedLast}.
Reimplemented from ConstraintHandler.
Definition at line 82 of file PlainHandler.cpp. |