www.cemf.ir
reflectiveBoundaryField.hpp
Go to the documentation of this file.
1 /*------------------------------- phasicFlow ---------------------------------
2  O C enter of
3  O O E ngineering and
4  O O M ultiscale modeling of
5  OOOOOOO F luid flow
6 ------------------------------------------------------------------------------
7  Copyright (C): www.cemf.ir
8  email: hamid.r.norouzi AT gmail.com
9 ------------------------------------------------------------------------------
10 Licence:
11  This file is part of phasicFlow code. It is a free software for simulating
12  granular and multiphase flows. You can redistribute it and/or modify it under
13  the terms of GNU General Public License v3 or any other later versions.
14 
15  phasicFlow is distributed to help others in their research in the field of
16  granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
17  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 
19 -----------------------------------------------------------------------------*/
20 #ifndef __reflectiveBoundaryField_hpp__
21 #define __reflectiveBoundaryField_hpp__
22 
23 #include "boundaryField.hpp"
24 
25 namespace pFlow
26 {
27 
28 template< class T, class MemorySpace = void>
30 :
31  public boundaryField<T, MemorySpace>
32 {
33 public:
34 
36 
38 
40 
42 
44 
45 
46 
47 public:
48 
49  TypeInfoTemplate211("boundaryField","reflective", T, memory_space::name());
50 
52  const boundaryBase& boundary,
53  const pointStructure& pStruct,
54  InternalFieldType& internal);
55 
56 
57  add_vCtor
58  (
62  );
63 
64 
65  bool hearChanges
66  (
67  real t,
68  real dt,
69  uint32 iter,
70  const message& msg,
71  const anyList& varList
72  ) override
73  {
74  BoundaryFieldType::hearChanges(t,dt,iter, msg,varList);
75 
77  {
78  // do nothing;
79  }
80 
81  return true;
82  }
83 
84 };
85 
86 }
87 
89 
90 #endif
pFlow::boundaryField::execution_space
typename InternalFieldType::execution_space execution_space
Definition: boundaryField.hpp:54
reflectiveBoundaryField.cpp
pFlow::message::equivalentTo
bool equivalentTo(EVENT evnt) const
Definition: message.hpp:131
pFlow::boundaryField
Definition: boundaryField.hpp:42
pFlow::message
Definition: message.hpp:33
pFlow::real
float real
Definition: builtinTypes.hpp:45
boundaryField.hpp
pFlow::boundaryField::InternalFieldType
internalField< T, MemorySpace > InternalFieldType
Definition: boundaryField.hpp:50
pFlow::reflectiveBoundaryField::hearChanges
bool hearChanges(real t, real dt, uint32 iter, const message &msg, const anyList &varList) override
Definition: reflectiveBoundaryField.hpp:66
pFlow::uint32
unsigned int uint32
Definition: builtinTypes.hpp:56
pFlow::reflectiveBoundaryField
Definition: reflectiveBoundaryField.hpp:29
pFlow::generalBoundary::pStruct
const auto & pStruct() const
Definition: generalBoundary.hpp:138
pFlow::reflectiveBoundaryField::memory_space
typename BoundaryFieldType::memory_space memory_space
Definition: reflectiveBoundaryField.hpp:41
pFlow::reflectiveBoundaryField::InternalFieldType
typename BoundaryFieldType::InternalFieldType InternalFieldType
Definition: reflectiveBoundaryField.hpp:39
pFlow::reflectiveBoundaryField::TypeInfoTemplate211
TypeInfoTemplate211("boundaryField","reflective", T, memory_space::name())
pFlow
Definition: demGeometry.hpp:27
pFlow::boundaryField::memory_space
typename InternalFieldType::memory_space memory_space
Definition: boundaryField.hpp:52
pFlow::pointStructure
Definition: pointStructure.hpp:34
pFlow::anyList
Definition: anyList.hpp:35
pFlow::reflectiveBoundaryField::reflectiveBoundaryField
reflectiveBoundaryField(const boundaryBase &boundary, const pointStructure &pStruct, InternalFieldType &internal)
Definition: reflectiveBoundaryField.cpp:22
pFlow::boundaryBase
Definition: boundaryBase.hpp:42
pFlow::reflectiveBoundaryField::execution_space
typename BoundaryFieldType::execution_space execution_space
Definition: reflectiveBoundaryField.hpp:43
pFlow::boundaryField::hearChanges
bool hearChanges(real t, real dt, uint32 iter, const message &msg, const anyList &varList) override
Definition: boundaryField.hpp:104
pFlow::reflectiveBoundaryField::add_vCtor
add_vCtor(BoundaryFieldType, ReflectiveBoundaryFieldType, boundaryBase)
pFlow::generalBoundary::boundary
const auto & boundary() const
Definition: generalBoundary.hpp:108
pFlow::message::BNDR_DELETE
@ BNDR_DELETE
Definition: message.hpp:49