OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Represents GP (Gauss point) initialization module. More...
#include <gpinitmodule.h>
Public Member Functions | |
GPInitModule (int n, EngngModel *e) | |
Creates empty GPInitModule. More... | |
virtual | ~GPInitModule () |
Destructor. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
virtual void | doInit () |
Reads the input. Abstract service. More... | |
virtual const char * | giveClassName () const |
Returns class name of the receiver. More... | |
Public Member Functions inherited from oofem::InitModule | |
InitModule (int n, EngngModel *e) | |
Constructor. Creates empty Init Module with number n. More... | |
virtual | ~InitModule () |
Destructor. More... | |
std::string | errorInfo (const char *func) const |
Error printing helper. More... | |
Additional Inherited Members | |
Protected Attributes inherited from oofem::InitModule | |
int | number |
Number. More... | |
EngngModel * | emodel |
Problem pointer. More... | |
FILE * | initStream |
Initialization file. More... | |
Represents GP (Gauss point) initialization module.
This module reads certain internal variables of all Gauss points from a file. In this way, one can specify e.g. initial damage and initial stresses computed by another model.
Definition at line 50 of file gpinitmodule.h.
oofem::GPInitModule::GPInitModule | ( | int | n, |
EngngModel * | e | ||
) |
Creates empty GPInitModule.
|
virtual |
Destructor.
Definition at line 56 of file gpinitmodule.C.
|
virtual |
Reads the input. Abstract service.
Implements oofem::InitModule.
Definition at line 68 of file gpinitmodule.C.
References oofem::FloatArray::at(), oofem::InitModule::emodel, oofem::Element::giveCrossSection(), oofem::Element::giveDefaultIntegrationRulePtr(), oofem::EngngModel::giveDomain(), oofem::Domain::giveElement(), oofem::CrossSection::giveMaterial(), oofem::Domain::giveNumberOfElements(), oofem::InitModule::initStream, OOFEM_ERROR, oofem::FloatArray::resize(), oofem::MaterialStatus::restoreConsistency(), and oofem::Material::setIPValue().
|
inlinevirtual |
Returns class name of the receiver.
Reimplemented from oofem::InitModule.
Definition at line 61 of file gpinitmodule.h.
|
virtual |
Initializes receiver according to object description stored in input record.
Implements oofem::InitModule.
Definition at line 61 of file gpinitmodule.C.
References oofem::InitModule::initializeFrom().