xc
Public Member Functions | Protected Member Functions | List of all members

Base class for model builders. More...

#include <ModelBuilder.h>

Inheritance diagram for XC::ModelBuilder:
XC::PartitionedModelBuilder

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

DomaingetDomainPtr (void) const
 Return a pointer to the domain. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

§ ModelBuilder()

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.

Member Function Documentation

§ buildFE_Model()

virtual int XC::ModelBuilder::buildFE_Model ( void  )
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.

§ getDomainPtr()

XC::Domain * XC::ModelBuilder::getDomainPtr ( void  ) const
protected

Return a pointer to the domain.

Returns a pointer to the Domain object passed in the constructor. This method can be used in the subclasses to get a pointer the Domain object to which to add the domain components.


The documentation for this class was generated from the following files: