www.cemf.ir
createBoundaryFields.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 __createBoundaryFields_hpp__
21 #define __createBoundaryFields_hpp__
22 
27 
28 #define createDerivedBoundary(DataType, MemorySpaceType) \
29  template class pFlow::exitBoundaryField<DataType, MemorySpaceType>; \
30  template class pFlow::periodicBoundaryField<DataType, MemorySpaceType>; \
31  template class pFlow::reflectiveBoundaryField<DataType, MemorySpaceType>;
32 
33 #define createBaseBoundary(DataType, MemorySpaceType) \
34  template class pFlow::boundaryField<DataType, MemorySpaceType>;
35 
36 #define createBoundaryFields(DataType, MemorySpaceType) \
37  createBaseBoundary(DataType, MemorySpaceType); \
38  createDerivedBoundary(DataType, MemorySpaceType);
39 
40 #endif //__createBoundaryFields_hpp__
reflectiveBoundaryField.hpp
boundaryField.hpp
periodicBoundaryField.hpp
exitBoundaryField.hpp