www.cemf.ir
boundarySphereParticles.hpp
Go to the documentation of this file.
1 
2 
3 #ifndef __boundarySphereParticles_hpp__
4 #define __boundarySphereParticles_hpp__
5 
6 #include "generalBoundary.hpp"
7 #include "virtualConstructor.hpp"
8 #include "timeInfo.hpp"
9 
10 namespace pFlow
11 {
12 
13 class sphereParticles;
14 
16  : public generalBoundary
17 {
18 private:
19 
21 
22 public:
23 
25  TypeInfo("boundarySphereParticles<none>");
26 
28  const boundaryBase &boundary,
29  sphereParticles& prtcls
30  );
31 
35  (
36  const boundaryBase &boundary,
37  sphereParticles& prtcls
38  ),
39  (boundary, prtcls)
40  );
41 
42  add_vCtor(
46  );
47 
49 
50  const sphereParticles& Particles()const;
51 
53  real t,
54  real dt,
55  uint32 iter,
56  const message &msg,
57  const anyList &varList) override
58  {
59  return true;
60  }
61 
62  virtual
63  bool acceleration(const timeInfo& ti, const realx3& g)
64  {
65  return true;
66  }
67 
68  static
70  const boundaryBase &boundary,
71  sphereParticles& prtcls);
72 
73 };
74 
75 
76 }
77 
78 
79 
80 #endif
pFlow::boundarySphereParticles::add_vCtor
add_vCtor(boundarySphereParticles, boundarySphereParticles, boundaryBase)
pFlow::message
Definition: message.hpp:33
pFlow::boundarySphereParticles::boundarySphereParticles
boundarySphereParticles(const boundaryBase &boundary, sphereParticles &prtcls)
Definition: boundarySphereParticles.cpp:6
pFlow::real
float real
Definition: builtinTypes.hpp:45
timeInfo.hpp
pFlow::boundarySphereParticles::create
static uniquePtr< boundarySphereParticles > create(const boundaryBase &boundary, sphereParticles &prtcls)
Definition: boundarySphereParticles.cpp:27
pFlow::uint32
unsigned int uint32
Definition: builtinTypes.hpp:56
pFlow::timeInfo
Definition: timeInfo.hpp:28
pFlow
Definition: demGeometry.hpp:27
pFlow::sphereParticles
Class for managing spherical particles.
Definition: sphereParticles.hpp:42
pFlow::boundarySphereParticles::TypeInfo
TypeInfo("boundarySphereParticles<none>")
type info
pFlow::boundarySphereParticles::acceleration
virtual bool acceleration(const timeInfo &ti, const realx3 &g)
Definition: boundarySphereParticles.hpp:63
pFlow::anyList
Definition: anyList.hpp:35
pFlow::boundarySphereParticles
Definition: boundarySphereParticles.hpp:15
virtualConstructor.hpp
pFlow::boundaryBase
Definition: boundaryBase.hpp:42
pFlow::boundarySphereParticles::Particles
sphereParticles & Particles()
Definition: boundarySphereParticles.cpp:17
pFlow::boundarySphereParticles::particles_
sphereParticles & particles_
Definition: boundarySphereParticles.hpp:20
pFlow::uniquePtr
Definition: uniquePtr.hpp:42
generalBoundary.hpp
pFlow::boundarySphereParticles::hearChanges
bool hearChanges(real t, real dt, uint32 iter, const message &msg, const anyList &varList) override
Definition: boundarySphereParticles.hpp:52
pFlow::generalBoundary::boundary
const auto & boundary() const
Definition: generalBoundary.hpp:108
pFlow::triple< real >
pFlow::boundarySphereParticles::create_vCtor
create_vCtor(boundarySphereParticles, boundaryBase,(const boundaryBase &boundary, sphereParticles &prtcls),(boundary, prtcls))
pFlow::generalBoundary
Definition: generalBoundary.hpp:38