Memosa-FVM  0.2
ContactModel.h
Go to the documentation of this file.
1 // This file os part of FVM
2 // Copyright (c) 2012 FVM Authors
3 // See LICENSE file for terms.
4 
5 #ifndef _CONTACTMODEL_H_
6 #define _CONTACTMODEL_H_
7 
8 #include "Model.h"
9 #include "GeomFields.h"
10 #include "ContactFields.h"
11 #include "Mesh.h"
12 #include "Array.h"
13 #include "Vector.h"
14 
15 
16 template<class T>
17 class ContactModel : public Model
18 {
19  public:
20 
21  class Impl;
22 
23  ContactModel(const GeomFields& geomFields,
24  ContactFields& contactFields,
25  const MeshList& meshes);
26 
27  virtual ~ContactModel();
28 
29  virtual void init();
30 
31  void computeSolidSurfaceForce(const StorageSite& particles);
32 
33  void computeSolidSurfaceForcePerUnitArea(const StorageSite& particles);
35 
36  class NearestCell;
37 
38  private:
39  shared_ptr<Impl> _impl;
40 
41 };
42 
43 
44 #endif
void computeSolidSurfaceForcePerUnitArea(const StorageSite &particles)
void computeSolidSurfaceForce(const StorageSite &particles)
ContactModelConstants< T > & getConstants()
Definition: Model.h:13
virtual void init()
virtual ~ContactModel()
ContactModel(const GeomFields &geomFields, ContactFields &contactFields, const MeshList &meshes)
vector< Mesh * > MeshList
Definition: Mesh.h:439
shared_ptr< Impl > _impl
Definition: ContactModel.h:36