build system is added and is tested for serial execution

This commit is contained in:
hamidrezanorouzi
2022-09-02 12:30:54 +04:30
parent 757eeb8f62
commit 9d177aba28
11 changed files with 357 additions and 5 deletions

15
src/CMakeLists.txt Normal file
View File

@ -0,0 +1,15 @@
add_subdirectory(phasicFlow)
#add_subdirectory(Integration)
#add_subdirectory(Property)
#add_subdirectory(Particles)
#add_subdirectory(Interaction)
#add_subdirectory(MotionModel)
#add_subdirectory(Geometry)

View File

@ -0,0 +1,79 @@
list(APPEND SourceFiles
types/basicTypes/bTypesFunctions.C
types/basicTypes/Logical.C
types/types.C
globals/error.C
streams/token/tokenIO.C
streams/token/token.C
streams/iStream/IOstream.C
streams/iStream/iIstream.C
streams/iStream/iOstream.C
streams/Stream/Istream.C
streams/Stream/Ostream.C
streams/Fstream/iFstream.C
streams/Fstream/oFstream.C
streams/Fstream/fileStream.C
streams/TStream/iTstream.C
streams/TStream/oTstream.C
streams/streams.C
dictionary/dictionary.C
dictionary/entry/iEntry.C
dictionary/entry/dataEntry.C
dictionary/twoPartEntry/twoPartEntry.C
fileSystem/fileSystem.C
commandLine/commandLine.C
random/randomReal/randomReal.C
random/randomReal/randomReals.C
Timer/Timer.C
Timer/Timers.C
repository/Time/Time.C
repository/Time/timeControl.C
repository/systemControl/systemControl.C
repository/repository/repository.C
repository/IOobject/objectFile.C
repository/IOobject/IOobject.C
repository/IOobject/IOfileHeader.C
structuredData/box/box.C
structuredData/iBox/iBoxs.C
structuredData/line/line.C
structuredData/pointStructure/pointStructure.C
structuredData/pointStructure/selectors/pStructSelector/pStructSelector.C
structuredData/pointStructure/selectors/boxAll/boxAll.C
structuredData/pointStructure/selectors/rangeAll/rangeAll.C
structuredData/trisurfaceStructure/triSurface.C
structuredData/trisurfaceStructure/multiTriSurface.C
structuredData/trisurfaceStructure/stlFile.C
structuredData/peakableRegion/sphereRegion/sphereRegion.C
structuredData/peakableRegion/boxRegion/boxRegion.C
structuredData/peakableRegion/peakableRegion/peakableRegion.C
structuredData/peakableRegion/peakableRegions.C
containers/Vector/Vectors.C
containers/Field/Fields.C
containers/symArrayHD/symArrays.C
containers/triSurfaceField/triSurfaceFields.C
containers/bitsetHD/bitsetHDs.C
containers/indexContainer/indexContainer.C
setFieldList/setFieldList.C
setFieldList/setFieldEntry.C
eventSubscriber/eventSubscriber.C
eventSubscriber/eventObserver.C)
set(link_libs Kokkos::kokkos tbb)
pFlow_add_library_install(phasicFlow SourceFiles link_libs)
target_include_directories(phasicFlow PUBLIC ./Kokkos ./algorithms ./globals)

View File

@ -0,0 +1,33 @@
/*------------------------------- phasicFlow ---------------------------------
O C enter of
O O E ngineering and
O O M ultiscale modeling of
OOOOOOO F luid flow
------------------------------------------------------------------------------
Copyright (C): www.cemf.ir
email: hamid.r.norouzi AT gmail.com
------------------------------------------------------------------------------
Licence:
This file is part of phasicFlow code. It is a free software for simulating
granular and multiphase flows. You can redistribute it and/or modify it under
the terms of GNU General Public License v3 or any other later versions.
phasicFlow is distributed to help others in their research in the field of
granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------------------------------------------------------------------------*/
#ifndef __bTypes_H__
#define __bTypes_H__
#include "builtinTypes.H"
#include "bTypesFunctions.H"
#include "Logical.H"
#include "math.H"
#endif

View File

@ -42,13 +42,15 @@ using int16 = short int;
using int32 = int;
using int64 = long long int;
using int64 = long long int;
using uint32 = unsigned int;
using uint16 = unsigned short int ;
using label = std::size_t;
using uint32 = unsigned int;
using word = std:string;
using label = std::size_t;
using word = std::string;
} // end of pFlow