\file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
[walberlaIncludes]
Replacement for the "full" ConvexPolyhedron, which will throw compile time errors if any of its features are actually used.
Storage for detected contacts which can be used to perform actions for all contacts, e.g.
\file D3Q27BoundaryCollection.h \author lbmpy
\file D3Q19BoundaryCollection.h \author lbmpy
resolving, relaxation schemes... The InsertIntoContactStorage-Kernel can be used to insert a contact.
- Warning
- : if you include this header you also have to include Python.h as first header in your cpp file
[walberlaIncludes] [mesapdIncludes] [mesapdIncludes]
[Includes]
|
using | Block = blockforest::Block |
|
using | BlockID = blockforest::BlockID |
|
using | PhantomBlock = blockforest::PhantomBlock |
|
using | PhantomBlockForest = blockforest::PhantomBlockForest |
|
using | int8_t = std::int8_t |
| 8 bit signed integer More...
|
|
using | int16_t = std::int16_t |
| 16 bit signed integer More...
|
|
using | int32_t = std::int32_t |
| 32 bit signed integer More...
|
|
using | int64_t = std::int64_t |
| 64 bit signed integer More...
|
|
using | uint8_t = std::uint8_t |
| 8 bit unsigned integer More...
|
|
using | uint16_t = std::uint16_t |
| 16 bit unsigned integer More...
|
|
using | uint32_t = std::uint32_t |
| 32 bit unsigned integer More...
|
|
using | uint64_t = std::uint64_t |
| 64 bit unsigned integer More...
|
|
using | byte_t = uint8_t |
|
using | id_t = uint64_t |
|
using | ptrdiff_t = std::ptrdiff_t |
|
using | uint_t = std::size_t |
|
using | size_t = std::size_t |
|
using | cell_idx_t = int |
|
using | real_t = float |
|
using | float32 = float |
| Half precision support. More...
|
|
using | float64 = double |
|
using | omp_sched_t = enum omp_sched_t { omp_sched_static=1, omp_sched_dynamic=2, omp_sched_guided=3, omp_sched_auto=4 } |
|
using | omp_lock_t = struct omp_lock_t { void *_lk |
|
using | omp_nest_lock_t = struct omp_nest_lock_t { void *_lk |
|
using | omp_lock_hint_t = enum omp_lock_hint_t { omp_lock_hint_none=0, omp_lock_hint_uncontended=1, omp_lock_hint_contended=(1<< 1), omp_lock_hint_nonspeculative=(1<< 2), omp_lock_hint_speculative=(1<< 3), kmp_lock_hint_hle=(1<< 16), kmp_lock_hint_rtm=(1<< 17), kmp_lock_hint_adaptive=(1<< 18) } |
|
using | omp_proc_bind_t = enum omp_proc_bind_t { omp_proc_bind_false=0, omp_proc_bind_true=1, omp_proc_bind_master=2, omp_proc_bind_close=3, omp_proc_bind_spread=4 } |
|
using | CpuTimer = timing::Timer< timing::CpuPolicy > |
|
using | DeviceSynchronizeTimer = timing::Timer< timing::DeviceSynchronizePolicy > |
|
using | WcTimer = timing::Timer< timing::WcPolicy > |
|
using | WcTimingNode = timing::TimingNode< timing::WcPolicy > |
|
using | DeviceSynchronizeTimingNode = timing::TimingNode< timing::DeviceSynchronizePolicy > |
|
using | CpuTimingNode = timing::TimingNode< timing::CpuPolicy > |
|
using | WcTimingPool = timing::TimingPool< timing::WcPolicy > |
|
using | DeviceSynchronizeTimingPool = timing::TimingPool< timing::DeviceSynchronizePolicy > |
|
using | CpuTimingPool = timing::TimingPool< timing::CpuPolicy > |
|
using | WcTimingTree = timing::TimingTree< timing::WcPolicy > |
|
using | DeviceSynchronizeTimingTree = timing::TimingTree< timing::DeviceSynchronizePolicy > |
|
using | CpuTimingTree = timing::TimingTree< timing::CpuPolicy > |
|
using | SweepTimeloop = typename timeloop::SweepTimeloop< > |
|
using | DeviceSynchronizeSweepTimeloop = typename timeloop::SweepTimeloop< timing::DeviceSynchronizePolicy > |
|
using | Timeloop = typename timeloop::Timeloop< > |
|
using | DeviceSynchronizeTimeloop = typename timeloop::Timeloop< timing::DeviceSynchronizePolicy > |
|
using | ScalarField = GhostLayerField< real_t, 1 > |
|
using | LatticeModel_T = lbm::SRTLatticeModel |
| Typedef Aliases ///. More...
|
|
typedef pystencils::SRTPackInfo | PackInfo_T |
| Typedef Aliases ///. More...
|
|
using | Stencil_T = LatticeModel_T::Stencil |
|
using | CommunicationStencil_T = LatticeModel_T::CommunicationStencil |
|
using | PdfField_T = lbm::PdfField< LatticeModel_T > |
| [typedefs] More...
|
|
using | flag_t = walberla::uint8_t |
|
using | FlagField_T = FlagField< flag_t > |
|
typedef lbm::DefaultBoundaryHandlingFactory< LatticeModel_T, FlagField_T > | BHFactory |
|
typedef field::GhostLayerField< real_t, Stencil_T::D > | VectorField_T |
|
using | NoSlip_T = lbm::CumulantMRTNoSlip |
| [VelocityFunctor] More...
|
|
using | UBB_T = lbm::SimpleUBB< LatticeModel_T, flag_t > |
|
using | BoundaryHandling_T = BoundaryHandling< FlagField_T, Stencil_T, NoSlip_T, UBB_T > |
|
using | FreeSlip_T = lbm::FreeSlip< LatticeModel_T, FlagField_T > |
|
using | SimpleUBB_T = lbm::SimpleUBB< LatticeModel_T, flag_t > |
|
using | DynamicUBB_T = lbm::DynamicUBB< LatticeModel_T, flag_t, VelocityFunctor > |
|
using | ParserUBB_T = lbm::ParserUBB< LatticeModel_T, flag_t > |
|
using | SimplePressure_T = lbm::SimplePressure< LatticeModel_T, flag_t > |
|
using | Pressure_T = lbm::Pressure< LatticeModel_T, flag_t > |
|
using | Outlet_T = lbm::Outlet< LatticeModel_T, FlagField_T > |
|
using | SimplePAB_T = lbm::SimplePAB< LatticeModel_T, FlagField_T > |
|
using | BodyTypeTuple = std::tuple< Sphere, Plane > |
| [BodyTypeTuple] More...
|
|
using | BodyTuple = std::tuple< Sphere, Plane > |
|
|
template<typename FlagField_T , typename Stencil , typename... Boundaries> |
std::ostream & | operator<< (std::ostream &os, const BoundaryHandling< FlagField_T, Stencil, Boundaries... > &boundaryHandling) |
|
template<typename FlagField_T , typename... Handlers> |
std::ostream & | operator<< (std::ostream &os, const BoundaryHandlingCollection< FlagField_T, Handlers... > &bhc) |
|
template<typename T > |
AllSet< T > | setIntersection (const AllSet< T > &a, const AllSet< T > &b) |
|
template<typename T > |
AllSet< T > | setUnion (const AllSet< T > &a, const AllSet< T > &b) |
|
template<typename T > |
AllSet< T > | setDifference (const AllSet< T > &a, const AllSet< T > &b) |
|
template<typename T > |
bool | setIsEqual (const AllSet< T > &a, const AllSet< T > &b) |
|
template<typename T > |
std::ostream & | operator<< (std::ostream &os, const AllSet< T > &set) |
|
template<typename T > |
std::ostream & | operator<< (std::ostream &os, const Array< T > &array) |
|
void | convert (const std::vector< bool > &from, std::vector< uint8_t > &to) |
|
void | convert (const std::vector< uint8_t > &from, std::vector< bool > &to) |
|
template<typename T > |
bool | isIdentical (const T a, const T b) |
| If you want to compare two reals using operator == and you really know what you are doing, you can use the following function: More...
|
|
template<typename S , typename T > |
S | numeric_cast (T t) |
|
template<typename INT > |
void | static_assert_int_t () |
|
template<typename UINT > |
void | static_assert_uint_t () |
|
constexpr real_t | operator""_r (long double t) |
|
constexpr real_t | operator""_r (unsigned long long int t) |
|
bool | realIsIdentical (const real_t a, const real_t b) |
|
bool | realIsEqual (const real_t a, const real_t b, const real_t eps=real_comparison::Epsilon< real_t >::value) |
|
bool | floatIsEqual (long double lhs, long double rhs, const long double epsilon=real_comparison::Epsilon< long double >::value) |
|
bool | floatIsEqual (double lhs, double rhs, const double epsilon=real_comparison::Epsilon< double >::value) |
|
bool | floatIsEqual (float lhs, float rhs, const float epsilon=real_comparison::Epsilon< float >::value) |
|
void | uintToByteArray (uint_t value, std::vector< uint8_t > &array, const uint_t offset, const uint_t bytes) |
| Stores the 'bytes' least significant bytes of 'value' in 'array' starting at 'array[offset]' (complementary operation/function: byteArrayToUint) More...
|
|
uint_t | byteArrayToUint (const std::vector< uint8_t > &array, const uint_t offset, const uint_t bytes) |
| Converts 'bytes' bytes stored in 'array' starting at 'array[offset]' into a value of type uint_t (complementary operation/function: uintToByteArray) More...
|
|
template<typename REAL_T > |
uint_t | realToByteArray (const REAL_T value, std::vector< uint8_t > &array, const uint_t offset) |
|
template<typename REAL_T > |
REAL_T | byteArrayToReal (const std::vector< uint8_t > &array, const uint_t offset) |
|
void | boolVectorToByteArray (const std::vector< bool > &boolVec, std::vector< uint8_t > &array, const uint_t offset) |
|
std::vector< bool > | byteArrayToBoolVector (const std::vector< uint8_t > &array, const uint_t offset, const uint_t bytes) |
|
void | configureGlobalState (const shared_ptr< Config > &config) |
| Configures the global state given a config object. More...
|
|
template<typename... Args> |
std::string | format (const std::string &formatString, Args &&... args) |
| format uses the printf syntax to format a given formatString and return a std::string More...
|
|
uint_t | getpid () |
|
std::string | getHostName () |
|
long | getResidentMemorySize () |
|
void | printResidentMemoryStatistics () |
| Determines memory usage on all MPI processes and prints statistics. More...
|
|
void | omp_set_num_threads (int) |
|
void | omp_set_dynamic (int) |
|
void | omp_set_nested (int) |
|
void | omp_set_max_active_levels (int) |
|
void | omp_set_schedule (omp_sched_t, int) |
|
int | omp_get_num_threads (void) |
|
int | omp_get_dynamic (void) |
|
int | omp_get_nested (void) |
|
int | omp_get_max_threads (void) |
|
int | omp_get_thread_num (void) |
|
int | omp_get_num_procs (void) |
|
int | omp_in_parallel (void) |
|
int | omp_in_final (void) |
|
int | omp_get_active_level (void) |
|
int | omp_get_level (void) |
|
int | omp_get_ancestor_thread_num (int) |
|
int | omp_get_team_size (int) |
|
int | omp_get_thread_limit (void) |
|
int | omp_get_max_active_levels (void) |
|
void | omp_get_schedule (omp_sched_t *, int *) |
|
int | omp_get_max_task_priority (void) |
|
void | omp_init_lock (omp_lock_t *) |
|
void | omp_set_lock (omp_lock_t *) |
|
void | omp_unset_lock (omp_lock_t *) |
|
void | omp_destroy_lock (omp_lock_t *) |
|
int | omp_test_lock (omp_lock_t *) |
|
void | omp_init_nest_lock (omp_nest_lock_t *) |
|
void | omp_set_nest_lock (omp_nest_lock_t *) |
|
void | omp_unset_nest_lock (omp_nest_lock_t *) |
|
void | omp_destroy_nest_lock (omp_nest_lock_t *) |
|
int | omp_test_nest_lock (omp_nest_lock_t *) |
|
void | omp_init_lock_with_hint (omp_lock_t *, omp_lock_hint_t) |
|
void | omp_init_nest_lock_with_hint (omp_nest_lock_t *, omp_lock_hint_t) |
|
double | omp_get_wtime (void) |
|
double | omp_get_wtick (void) |
|
int | omp_get_default_device (void) |
|
void | omp_set_default_device (int) |
|
int | omp_is_initial_device (void) |
|
int | omp_get_num_devices (void) |
|
int | omp_get_num_teams (void) |
|
int | omp_get_team_num (void) |
|
int | omp_get_cancellation (void) |
|
int | omp_get_initial_device (void) |
|
void * | omp_target_alloc (size_t, int) |
|
void | omp_target_free (void *, int) |
|
int | omp_target_is_present (void *, int) |
|
int | omp_target_memcpy (void *, void *, size_t, size_t, size_t, int, int) |
|
int | omp_target_memcpy_rect (void *, void *, size_t, int, const size_t *, const size_t *, const size_t *, const size_t *, const size_t *, int, int) |
|
int | omp_target_associate_ptr (void *, void *, size_t, size_t, int) |
|
int | omp_target_disassociate_ptr (void *, int) |
|
omp_proc_bind_t | omp_get_proc_bind (void) |
|
int | omp_get_num_places (void) |
|
int | omp_get_place_num_procs (int) |
|
void | omp_get_place_proc_ids (int, int *) |
|
int | omp_get_place_num (void) |
|
int | omp_get_partition_num_places (void) |
|
void | omp_get_partition_place_nums (int *) |
|
bool | operator== (const RandomUUID &lhs, const RandomUUID &rhs) |
|
bool | operator!= (const RandomUUID &lhs, const RandomUUID &rhs) |
|
std::ostream & | operator<< (std::ostream &os, const RandomUUID &uuid) |
|
template<typename T > |
Set< T > | setIntersection (const Set< T > &a, const Set< T > &b) |
|
template<typename T > |
Set< T > | setUnion (const Set< T > &a, const Set< T > &b) |
|
template<typename T > |
Set< T > | setDifference (const Set< T > &a, const Set< T > &b) |
|
template<typename T > |
bool | setIsEqual (const Set< T > &a, const Set< T > &b) |
|
template<typename T > |
std::ostream & | operator<< (std::ostream &os, const Set< T > &set) |
|
template<typename F > |
SharedFunctor< F > | makeSharedFunctor (const shared_ptr< F > &functorPtr) |
|
void | sleep (uint_t seconds) |
|
template<typename Type > |
std::ostream & | operator<< (std::ostream &os, const ParameterList< Type > &v) |
|
template<typename Type > |
std::istream & | operator>> (std::istream &is, ParameterList< Type > &v) |
|
template<typename S > |
S | stringToNum (const std::string &t) |
|
template<> |
float | stringToNum (const std::string &t) |
|
void | string_to_upper (std::string &s) |
|
std::string | string_to_upper_copy (const std::string &s) |
|
void | string_to_lower (std::string &s) |
|
std::string | string_to_lower_copy (const std::string &s) |
|
void | string_trim_left (std::string &s) |
|
void | string_trim_right (std::string &s) |
|
void | string_trim (std::string &s) |
|
std::string | string_trim_left_copy (const std::string &s) |
|
std::string | string_trim_right_copy (const std::string &s) |
|
std::string | string_trim_copy (const std::string &s) |
|
std::vector< std::string > | string_split (std::string s, const std::string &delimiters) |
|
void | string_replace_all (std::string &s, const std::string &oldSubstr, const std::string &newSubstr) |
|
std::string | string_replace_all_copy (const std::string &s, const std::string &oldSubstr, const std::string &newSubstr) |
|
bool | string_ends_with (const std::string &s, const std::string &substr) |
|
int | string_icompare (const std::string &s1, const std::string &s2) |
|
template<typename T > |
std::string | to_string_with_precision (T number, uint_t decimalPlaces) |
|
template<typename T > |
std::string | to_string_only_relevant_digits (T number) |
|
template<typename T > |
const char * | typeToString () |
|
template<> |
const char * | typeToString< bool > () |
|
template<> |
const char * | typeToString< char > () |
|
template<> |
const char * | typeToString< short > () |
|
template<> |
const char * | typeToString< int > () |
|
template<> |
const char * | typeToString< long > () |
|
template<> |
const char * | typeToString< long long > () |
|
template<> |
const char * | typeToString< unsigned char > () |
|
template<> |
const char * | typeToString< unsigned short > () |
|
template<> |
const char * | typeToString< unsigned int > () |
|
template<> |
const char * | typeToString< unsigned long > () |
|
template<> |
const char * | typeToString< unsigned long long > () |
|
template<> |
const char * | typeToString< float > () |
|
template<> |
const char * | typeToString< double > () |
|
template<typename T > |
const char * | typeToString (T) |
|
template<typename MeshDistanceType , typename MeshType > |
BoundaryLocationFunction< MeshDistanceType, MeshType > | makeBoundaryLocationFunction (const shared_ptr< MeshDistanceType > &meshDistanceObject, const shared_ptr< mesh::BoundaryLocation< MeshType > > &boundaryLocation) |
|
template<typename MeshDistanceType > |
MeshDistanceFunction< MeshDistanceType > | makeMeshDistanceFunction (const shared_ptr< MeshDistanceType > &meshDistanceObject) |
|
void | configure (const Config::BlockHandle &config, pe::cr::HCSITS &cr) |
| configures HardContactSemiImplicitTimesteppingSolvers with parameters from config file More...
|
|
Field< real_t, 1 > * | createFields (IBlock *const block, StructuredBlockStorage *const storage) |
|
int | main (int argc, char **argv) |
| Main Function ///. More...
|
|
void | simpleSweep (IBlock *block, BlockDataID fieldBlockDataID) |
|
void | swapFields (StructuredBlockForest &blocks, BlockDataID uID, BlockDataID uTmpID) |
|
void | initDirichletBoundaryNorth (shared_ptr< StructuredBlockForest > blocks, BlockDataID uId, BlockDataID uTmpId) |
|
void | initShearFlowVelocityField (const shared_ptr< StructuredBlockForest > &blocks, const BlockDataID &velocityFieldId, const Config::BlockHandle &config) |
| Shear Flow Velocity Initialization ///. More...
|
|
__global__ void | gameOfLifeKernel (gpu::FieldAccessor< real_t > src, gpu::FieldAccessor< real_t > dst) |
|
const FlagUID | Fluid_Flag ("fluid") |
|
const FlagUID | UBB_Flag ("velocity bounce back") |
|
const FlagUID | NoSlip_Flag ("no slip") |
|
void | setFlags (shared_ptr< StructuredBlockForest > &blocks, const BlockDataID &boundaryHandlingId) |
| Initialization function used for setting flags in the flag field. More...
|
|
shared_ptr< vtk::VTKOutput > | createFluidFieldVTKWriter (shared_ptr< StructuredBlockForest > &blocks, const BlockDataID &pdfFieldId, const BlockDataID &flagFieldId) |
| Helper function for setting up a VTK output instance that generates output for the fluid field. More...
|
|
template<typename MeshType > |
void | vertexToFaceColor (MeshType &mesh, const typename MeshType::Color &defaultColor) |
| [vertexToFaceColor] More...
|
|
const FlagUID | FluidFlagUID ("Fluid Flag") |
|
const FlagUID | NoSlipFlagUID ("NoSlip Flag") |
|
const FlagUID | FreeSlipFlagUID ("FreeSlip Flag") |
|
const FlagUID | SimpleUBBFlagUID ("SimpleUBB Flag") |
|
const FlagUID | UBBFlagUID ("UBB Flag") |
|
const FlagUID | DynamicUBBFlagUID ("DynamicUBB Flag") |
|
const FlagUID | ParserUBBFlagUID ("ParserUBB Flag") |
|
const FlagUID | SimplePressureFlagUID ("SimplePressure Flag") |
|
const FlagUID | PressureFlagUID ("Pressure Flag") |
|
const FlagUID | OutletFlagUID ("Outlet Flag") |
|
const FlagUID | SimplePABFlagUID ("SimplePAB Flag") |
|
void | initBC (const shared_ptr< StructuredBlockStorage > &blocks, const BlockDataID &srcID, const BlockDataID &dstID) |
|
void | initRHS (const shared_ptr< StructuredBlockStorage > &blocks, const BlockDataID &rhsID) |
|
void | initU (const shared_ptr< StructuredBlockStorage > &blocks, const BlockDataID &uID) |
|