Memosa-FVM  0.2
StructureModel< T > Class Template Reference

#include <StructureModel.h>

Inheritance diagram for StructureModel< T >:
Collaboration diagram for StructureModel< T >:

Classes

class  Impl
 

Public Types

typedef std::map< int,
StructureBC< T > * > 
StructureBCMap
 
typedef std::map< int,
StructureVC< T > * > 
StructureVCMap
 

Public Member Functions

 StructureModel (const GeomFields &geomFields, StructureFields &structureFields, const MeshList &meshes)
 
virtual ~StructureModel ()
 
virtual void init ()
 
StructureBCMapgetBCMap ()
 
StructureVCMapgetVCMap ()
 
StructureModelOptions< T > & getOptions ()
 
bool advance (const int niter)
 
void advanceExplicit (const int nsteps, const double deltaT)
 
void initExplicitAdvance ()
 
void finishExplicitAdvance ()
 
void updateTime ()
 
void creepInit ()
 
void computeVMStress ()
 
void updateForceOnBoundary (const StorageSite &faceSite, const ArrayBase &bforceA, const map< int, int > &commonFacesMap, ArrayBase &fxA, ArrayBase &fyA, ArrayBase &fzA)
 
void getTraction (const Mesh &mesh)
 
void getStrain (const Mesh &mesh)
 
void getPlasticDiagStrain (const Mesh &mesh)
 
- Public Member Functions inherited from Model
 Model (const MeshList &meshes)
 
virtual ~Model ()
 
 DEFINE_TYPENAME ("Model")
 
virtual map< string,
shared_ptr< ArrayBase > > & 
getPersistenceData ()
 
virtual void restart ()
 

Private Attributes

shared_ptr< Impl_impl
 

Additional Inherited Members

- Protected Attributes inherited from Model
const MeshList _meshes
 
StorageSiteList _varSites
 
StorageSiteList _fluxSites
 
map< string, shared_ptr
< ArrayBase > > 
_persistenceData
 

Detailed Description

template<class T>
class StructureModel< T >

Definition at line 19 of file StructureModel.h.

Member Typedef Documentation

template<class T>
typedef std::map<int,StructureBC<T>*> StructureModel< T >::StructureBCMap

Definition at line 23 of file StructureModel.h.

template<class T>
typedef std::map<int,StructureVC<T>*> StructureModel< T >::StructureVCMap

Definition at line 24 of file StructureModel.h.

Constructor & Destructor Documentation

template<class T >
StructureModel< T >::StructureModel ( const GeomFields geomFields,
StructureFields structureFields,
const MeshList meshes 
)

Definition at line 1677 of file StructureModel_impl.h.

References logCtor.

1679  :
1680  Model(meshes),
1681  _impl(new Impl(geomFields,structureFields,meshes))
1682 {
1683  logCtor();
1684 }
Model(const MeshList &meshes)
Definition: Model.cpp:8
shared_ptr< Impl > _impl
#define logCtor()
Definition: RLogInterface.h:26
template<class T >
StructureModel< T >::~StructureModel ( )
virtual

Definition at line 1688 of file StructureModel_impl.h.

References logDtor.

1689 {
1690  logDtor();
1691 }
#define logDtor()
Definition: RLogInterface.h:33

Member Function Documentation

template<class T >
bool StructureModel< T >::advance ( const int  niter)

Definition at line 1725 of file StructureModel_impl.h.

1726 {
1727  return _impl->advance(niter);
1728 }
shared_ptr< Impl > _impl
template<class T >
void StructureModel< T >::advanceExplicit ( const int  nsteps,
const double  deltaT 
)

Definition at line 1732 of file StructureModel_impl.h.

1733 {
1734  _impl->advanceExplicit(nsteps,deltaT);
1735 }
shared_ptr< Impl > _impl
template<class T >
void StructureModel< T >::computeVMStress ( )

Definition at line 1771 of file StructureModel_impl.h.

1772 {
1773  _impl->computeVMStress();
1774 }
shared_ptr< Impl > _impl
template<class T >
void StructureModel< T >::creepInit ( )

Definition at line 1764 of file StructureModel_impl.h.

1765 {
1766  _impl->creepInit();
1767 }
shared_ptr< Impl > _impl
template<class T >
void StructureModel< T >::finishExplicitAdvance ( )

Definition at line 1757 of file StructureModel_impl.h.

1758 {
1759  return _impl->finishExplicitAdvance();
1760 }
shared_ptr< Impl > _impl
template<class T >
StructureModel< T >::StructureBCMap & StructureModel< T >::getBCMap ( )

Definition at line 1702 of file StructureModel_impl.h.

1702 {return _impl->getBCMap();}
shared_ptr< Impl > _impl
template<class T >
StructureModelOptions< T > & StructureModel< T >::getOptions ( )

Definition at line 1710 of file StructureModel_impl.h.

1710 {return _impl->getOptions();}
shared_ptr< Impl > _impl
template<class T >
void StructureModel< T >::getPlasticDiagStrain ( const Mesh mesh)

Definition at line 1785 of file StructureModel_impl.h.

1786 {
1787  return _impl->getPlasticDiagStrain(mesh);
1788 }
shared_ptr< Impl > _impl
template<class T >
void StructureModel< T >::getStrain ( const Mesh mesh)

Definition at line 1778 of file StructureModel_impl.h.

1779 {
1780  return _impl->getStrain(mesh);
1781 }
shared_ptr< Impl > _impl
template<class T >
void StructureModel< T >::getTraction ( const Mesh mesh)

Definition at line 1825 of file StructureModel_impl.h.

1826 {
1827  return _impl->getTraction(mesh);
1828 }
shared_ptr< Impl > _impl
template<class T >
StructureModel< T >::StructureVCMap & StructureModel< T >::getVCMap ( )

Definition at line 1706 of file StructureModel_impl.h.

1706 {return _impl->getVCMap();}
shared_ptr< Impl > _impl
template<class T >
void StructureModel< T >::init ( )
virtual

Implements Model.

Definition at line 1695 of file StructureModel_impl.h.

1696 {
1697  _impl->init();
1698 }
shared_ptr< Impl > _impl
template<class T >
void StructureModel< T >::initExplicitAdvance ( )

Definition at line 1739 of file StructureModel_impl.h.

1740 {
1741  return _impl->initExplicitAdvance();
1742 }
shared_ptr< Impl > _impl
template<class T >
void StructureModel< T >::updateForceOnBoundary ( const StorageSite faceSite,
const ArrayBase bforceA,
const map< int, int > &  commonFacesMap,
ArrayBase fxA,
ArrayBase fyA,
ArrayBase fzA 
)

Definition at line 1747 of file StructureModel_impl.h.

1750 {
1751  _impl->updateForceOnBoundary(faceSite, bforceA, commonFacesMap, fxA, fyA, fzA);
1752 ;
1753 }
shared_ptr< Impl > _impl
template<class T >
void StructureModel< T >::updateTime ( )

Definition at line 1792 of file StructureModel_impl.h.

Referenced by StructureModel< T >::Impl::advanceExplicit().

1793 {
1794  _impl->updateTime();
1795 }
shared_ptr< Impl > _impl

Member Data Documentation

template<class T>
shared_ptr<Impl> StructureModel< T >::_impl
private

Definition at line 82 of file StructureModel.h.


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