hp2FEM  0.1
Public Member Functions | Public Attributes | Protected Attributes
DiscreteModel Class Reference

Control class that aggregates all the features and ttributes of a discrete model and provides the interfaces for other objects to access the discrete model's components. More...

#include <DiscreteModel.h>

Collaboration diagram for DiscreteModel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DiscreteModel ()
 Constructor with parameters:the title of the discrete model is given as a parameter@.
 DiscreteModel (char *Title)
 Constructor with parameters:the title of the discrete model is given as a parameter.
 DiscreteModel (DiscreteModel &Instance)
 ~DiscreteModel ()
void operator= (DiscreteModel &Instance)
 operator Nodes & ()
 Cast to Nodes. Returns the attribute of this class that is an object of the Nodes class.
 operator Nodes *const ()
 Cast to Nodes*. Returns a reference to the attribute of this class that is an object of the Nodes class.
 operator DOFs & ()
 Cast to DOFs. Returns the attribute of this class that is an object of the DOFs class.
 operator DOFs *const ()
 Cast to DOFs*. Returns a reference to the attribute of this class that is an object of the DOFs class.
 operator MeshTopology & ()
 Cast to MeshTopology. Returns the attribute of this class that is an object of the MeshTopology class.
 operator MeshTopology *const ()
 Cast to MeshTopology*. Returns a reference to the attribute of this class that is an object of the MeshTopology class.
 operator Equations & ()
 Cast to Equations. Returns the attribute of this class that is an object of the Equations class.
 operator Equations *const ()
 Cast to Equations*. Returns a reference to the attribute of this class that is an object of the Equations class.
 operator FEGroups & ()
 Cast to FEGroups. Returns the attribute of this class that is an object of the FEGroups class.
 operator FEGroups *const ()
 Cast to FEGroups*. Returns a reference to the attribute of this class that is an object of the FEGroups class.
 operator LoadSets & ()
 Cast to LoadSets. Returns the attribute of this class that is an object of the LoadSets class.
 operator LoadSets *const ()
 Cast to LoadSets*. Returns a reference to the attribute of this class that is an object of the LoadSets class.
 operator BoundaryConditions & ()
 Cast to BoundaryConditions. Returns the attribute of this class that is an object of the BoundaryConditions class.
 operator BoundaryConditions *const ()
 Cast to BoundaryConditions*. Returns a reference to the attribute of this class that is an object of the BoundaryConditions class.
 operator GeometryMesh & ()
 Cast to GeometryMesh. Returns the attribute of this class that is an object of the GeometryMesh class.
 operator GeometryMesh *const ()
 Cast to GeometryMesh*. Returns a reference to the attribute of this class that is an object of the GeometryMesh class.
void Save (FILE *File)
 Writes class information to a binary fileThe current object state can be completely recovered when applying the Restore() operation@.
void Save (char *Tabname, int Version, char *Filename)
 Writes class data to an ACDP database.
void Restore (FILE *File)
 Restores class data (written using Save()) from a binary file@.
void Restore (char *Tabname, int Version, char *Filename)
 Restores class data from an ACDP database (written using Save())
void Read (FILE *FileFEM, FILE *FileDEF, FILE *LogFile, std::string DBaux)
 Reads class data from an ASCII file in FEAWEB format@.
void Print (FILE *File, std::string AuxDB, char *Message)
 Prints class data in ASCII format@.
void Free ()
 Releases the physical memory allocate for the element@.
unsigned long GetNumberNodes ()
 Returns the number of nodes of the discrete model@.
unsigned long GetNumberLoadSets ()
 Returns the number of load cases of the discrete model@.
unsigned long GetCurrentLoadSet ()
 Returns the identification number of the current load case@.
unsigned long GetNumberElements ()
 Returns the number of finite elements present in the discrete model@.
unsigned long GetNumberFEGroups ()
 Returns the number of groups of finite elements of the discrete model@.
unsigned long GetNumberEquations ()
 Returns the number of equations of the discrete model (number of free degrees of freedom)@.
unsigned short GetDimension ()

Public Attributes

DOFs DOFs
 Description of general discrete model properties@.
Nodes Coords
 Instance of Nodes class@.
MeshTopology MeshTopo
 Instance of MeshTopology class@.
Equations Eqs
 Orders of freedom of the discrete model@.
FEGroups FEGrps
 Finite element discretization: incidence, finite element types and geometrical properties@.
LoadSets LS
 Sets of external loads: nodal loads and body loads@.
BoundaryConditions BCs
 Boundary conditions imposed on degrees of freedom: eliminated (zero) and prescribed (nonzero) BCs.@.
GeometryMesh GeoMsh

Protected Attributes

char * Tit

Detailed Description

Control class that aggregates all the features and ttributes of a discrete model and provides the interfaces for other objects to access the discrete model's components.

Note:
Based on the FEModel class v0.0However, this class will not be a base class that generalizes solver classesTo solve a discrete model, one must pass a DiscretModel object as a parameter Solver objects' operations @
Author:
Fabiano Fernandes Bargos
Date:
March/02/2011

Constructor & Destructor Documentation

Copy Constructor.

Destructor.


Member Function Documentation

Releases the physical memory allocate for the element@.

Note:
Statically allocated variables are set to zero@
void DiscreteModel::Read ( FILE *  FileFEM,
FILE *  FileDEF,
FILE *  LogFile,
std::string  DBaux 
)

Reads class data from an ASCII file in FEAWEB format@.

Note:
Reading of problem description keywords, commands and data from the input files JobName.FEM and JobName.DEFThe FEAWEB format for inputing discrete model data is defined in a supplementary requirements document@

Member Data Documentation

Respresents the relationship between geometry and mesh entities@

Sets of external loads: nodal loads and body loads@.

Note:
Represents load cases in linear problems and load steps in nonlinear ones@

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Friends Defines