Memosa-FVM  0.2
ContactModel< T > Class Template Reference

#include <ContactModel.h>

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

Classes

class  Impl
 
class  NearestCell
 

Public Member Functions

 ContactModel (const GeomFields &geomFields, ContactFields &contactFields, const MeshList &meshes)
 
virtual ~ContactModel ()
 
virtual void init ()
 
void computeSolidSurfaceForce (const StorageSite &particles)
 
void computeSolidSurfaceForcePerUnitArea (const StorageSite &particles)
 
ContactModelConstants< T > & getConstants ()
 
- 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 ContactModel< T >

Definition at line 17 of file ContactModel.h.

Constructor & Destructor Documentation

template<class T >
ContactModel< T >::ContactModel ( const GeomFields geomFields,
ContactFields contactFields,
const MeshList meshes 
)

Definition at line 161 of file ContactModel_impl.h.

References logCtor.

163  :
164  Model(meshes),
165  _impl(new Impl(geomFields,contactFields,meshes))
166 {
167  logCtor();
168 }
Model(const MeshList &meshes)
Definition: Model.cpp:8
#define logCtor()
Definition: RLogInterface.h:26
shared_ptr< Impl > _impl
Definition: ContactModel.h:36
template<class T >
ContactModel< T >::~ContactModel ( )
virtual

Definition at line 172 of file ContactModel_impl.h.

References logDtor.

173 {
174  logDtor();
175 }
#define logDtor()
Definition: RLogInterface.h:33

Member Function Documentation

template<class T >
void ContactModel< T >::computeSolidSurfaceForce ( const StorageSite particles)

Definition at line 186 of file ContactModel_impl.h.

187 {
188  return _impl->computeSolidSurfaceForce(particles,false);
189 }
shared_ptr< Impl > _impl
Definition: ContactModel.h:36
template<class T >
void ContactModel< T >::computeSolidSurfaceForcePerUnitArea ( const StorageSite particles)

Definition at line 193 of file ContactModel_impl.h.

194 {
195  return _impl->computeSolidSurfaceForce(particles,true);
196 }
shared_ptr< Impl > _impl
Definition: ContactModel.h:36
template<class T >
ContactModelConstants< T > & ContactModel< T >::getConstants ( )

Definition at line 200 of file ContactModel_impl.h.

200 {return _impl->getConstants();}
shared_ptr< Impl > _impl
Definition: ContactModel.h:36
template<class T >
void ContactModel< T >::init ( )
virtual

Implements Model.

Definition at line 179 of file ContactModel_impl.h.

180 {
181  _impl->init();
182 }
shared_ptr< Impl > _impl
Definition: ContactModel.h:36

Member Data Documentation

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

Definition at line 36 of file ContactModel.h.


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