xc
|
Base class for model builders. More...
#include <ModelBuilder.h>
Public Member Functions | |
ModelBuilder (Domain &theDomain) | |
Constructor. More... | |
virtual int | buildFE_Model (void)=0 |
The ModelBuilder will construct the Element, Node, Load and Constraint objects and add them to the Domain object associated with the ModelBuilder. More... | |
Protected Member Functions | |
Domain * | getDomainPtr (void) const |
Return a pointer to the domain. More... | |
Base class for model builders.
The ModelBuilder class is an abstract base class. A subclass of ModelBuilder is a class which creates the finite element discretization of a structure: that is it discretizes the structure to be modeled into Elements, Nodes, Constraints, etc. and adds these components to the Domain.
XC::ModelBuilder::ModelBuilder | ( | Domain & | theDomain | ) |
Constructor.
All models are associated with a single domain, this constructor sets up the link between the model and the domain, setting its link to the Domain object theDomain
.
|
pure virtual |
The ModelBuilder will construct the Element, Node, Load and Constraint objects and add them to the Domain object associated with the ModelBuilder.
Implemented in XC::PartitionedModelBuilder.
|
protected |