waLBerla 7.2
|
Storage for detected contacts which can be used to perform actions for all contacts, e.g.
[walberlaIncludes]
Replacement for the "full" ConvexPolyhedron, which will throw compile time errors if any of its features are actually used.
resolving, relaxation schemes... The InsertIntoContactStorage-Kernel can be used to insert a contact.
[walberlaIncludes] [mesapdIncludes] [mesapdIncludes]
Namespaces | |
namespace | blockforest |
namespace | boundary |
namespace | cell |
namespace | communication |
namespace | config |
namespace | core |
namespace | debug |
namespace | domain_decomposition |
namespace | executiontree |
namespace | fft |
namespace | field |
namespace | filesystem |
namespace | free_surface |
namespace | gather |
namespace | geometry |
namespace | gpu |
namespace | grid_generator |
namespace | lbm |
namespace | lbm_generated |
namespace | lbm_mesapd_coupling |
namespace | logging |
namespace | math |
namespace | mesa_pd |
namespace | mesh |
namespace | mpi |
namespace | pde |
namespace | postprocessing |
namespace | python_coupling |
namespace | real_comparison |
namespace | selectable |
namespace | simd |
namespace | sqlite |
namespace | stencil |
namespace | timeloop |
namespace | timing |
namespace | uid |
namespace | vtk |
Classes | |
class | Abort |
class | AllSet |
A class for managing sets that supports the ability to define a set that represents all possible elements. More... | |
class | Array |
Fixed size, dynamically allocated array. More... | |
struct | BoundaryLocationFunction |
class | BoundarySetup |
class | ConcatIterator |
class | ContainerStreamReader |
RAII Object to read an STL container (e.g. More... | |
class | Environment |
RAII Object to initialize waLBerla using command line parameters. More... | |
class | ForceLogger |
Class for calculating (and logging) the force exerted by the fluid on an obstacle inside the domain. More... | |
struct | FunctionTraits |
Gives a function's return type as well as the number and type of arguments accepted by a function. More... | |
struct | FunctionTraits< R(Args...) > |
class | GameOfLifeSweep |
class | GameOfLifeSweepCUDA |
class | GeneratedNonUniformFieldPackInfo |
class | GeneratedNonUniformGPUFieldPackInfo |
class | JacobiIteration |
class | JacobiIterationResidual |
class | JacobiSweep |
class | JacobiSweepStencil |
struct | MeshDistanceFunction |
struct | MPITrait< Matrix3< T > > |
struct | MPITrait< Vector2< T > > |
struct | MPITrait< Vector3< T > > |
class | MyBoundaryHandling |
Functor that is used to add a boundary handling object to each block. More... | |
struct | never_true |
class | NonCopyable |
Ensures that any derived class can not be copied. More... | |
class | NonCreateable |
Ensures that any derived class can not be constructed (static member functions can still be called!) More... | |
class | ParameterList |
class | RandomUUID |
Replacement for boost::uuids::uuid and boost::uuids::random_generator. More... | |
class | ReattachmentLengthFinder |
Class for determining (and logging) the normalized reattachment length after the backward-facing step. More... | |
class | Reinitialize |
class | Set |
Wrapper class for managing sets that store elements of type T. More... | |
struct | Setup |
[variableDefines] More... | |
class | SharedFunctor |
struct | ShearFlowInit |
Shear Flow Initialization Functor ///. More... | |
class | SimpleSweep |
class | SRTCollideForce |
class | SRTStream |
LBGK/SRT algorithm of the lattice Boltzmann method extended by an additional, simple force term (by Luo). More... | |
class | UniqueID |
Generation of unique IDs in MPI environments. More... | |
struct | VectorTrait |
Provides information on how to serialize (=extract components) from a compound data type. More... | |
struct | VectorTrait< Matrix2< T > > |
struct | VectorTrait< Matrix3< T > > |
struct | VectorTrait< Quaternion< T > > |
struct | VectorTrait< T > |
struct | VectorTrait< Vector2< T > > |
struct | VectorTrait< Vector3< T > > |
class | VelDensLogger |
Class for determining (and logging) the minimum and maximum velocity as well as the minimum and maximum density. More... | |
class | VelocityFunctor |
[setupStruct] More... | |
Functions | |
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: | |
template<typename S , typename T > | |
S | numeric_cast (T t) |
template<typename T > | |
int8_t | int8_c (T t) |
cast to type int8_t using "int8_c(x)" | |
template<typename T > | |
int16_t | int16_c (T t) |
cast to type int16_t using "int16_c(x)" | |
template<typename T > | |
int32_t | int32_c (T t) |
cast to type int32_t using "int32_c(x)" | |
template<typename T > | |
int64_t | int64_c (T t) |
cast to type int64_t using "int64_c(x)" | |
template<typename T > | |
uint8_t | uint8_c (T t) |
cast to type uint8_t using "uint8_c(x)" | |
template<typename T > | |
uint16_t | uint16_c (T t) |
cast to type uint16_t using "uint16_c(x)" | |
template<typename T > | |
uint32_t | uint32_c (T t) |
cast to type uint32_t using "uint32_c(x)" | |
template<typename T > | |
uint64_t | uint64_c (T t) |
cast to type uint64_t using "uint64_c(x)" | |
template<typename T > | |
int | int_c (T t) |
cast to type int using "int_c(x)" | |
template<typename INT > | |
void | static_assert_int_t () |
template<typename T > | |
uint_t | uint_c (T t) |
cast to type uint_t using "uint_c(x)" | |
template<typename UINT > | |
void | static_assert_uint_t () |
template<typename T > | |
cell_idx_t | cell_idx_c (T t) |
cast to type cell_idx_t using "cell_idx_c(x)" | |
constexpr real_t | operator""_r (long double t) |
constexpr real_t | operator""_r (unsigned long long int t) |
template<typename T > | |
real_t | real_c (T t) |
cast to type real_t using "real_c(x)" | |
template<typename T > | |
double | double_c (T t) |
cast to type double | |
template<typename T > | |
float | float_c (T t) |
cast to type float | |
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) | |
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) | |
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) |
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 | |
uint_t | getpid () |
std::string | getHostName () |
long | getResidentMemorySize () |
void | printResidentMemoryStatistics () |
Determines memory usage on all MPI processes and prints statistics. | |
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 () |
int | omp_get_dynamic () |
int | omp_get_nested () |
int | omp_get_max_threads () |
int | omp_get_thread_num () |
int | omp_get_num_procs () |
int | omp_in_parallel () |
int | omp_in_final () |
int | omp_get_active_level () |
int | omp_get_level () |
int | omp_get_ancestor_thread_num (int) |
int | omp_get_team_size (int) |
int | omp_get_thread_limit () |
int | omp_get_max_active_levels () |
void | omp_get_schedule (omp_sched_t *, int *) |
int | omp_get_max_task_priority () |
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 () |
double | omp_get_wtick () |
int | omp_get_default_device () |
void | omp_set_default_device (int) |
int | omp_is_initial_device () |
int | omp_get_num_devices () |
int | omp_get_num_teams () |
int | omp_get_team_num () |
int | omp_get_cancellation () |
int | omp_get_initial_device () |
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 () |
int | omp_get_num_places () |
int | omp_get_place_num_procs (int) |
void | omp_get_place_proc_ids (int, int *) |
int | omp_get_place_num () |
int | omp_get_partition_num_places () |
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) |
template<> | |
double | stringToNum (const std::string &t) |
template<> | |
long double | stringToNum (const std::string &t) |
template<> | |
int | stringToNum (const std::string &t) |
template<> | |
long | stringToNum (const std::string &t) |
template<> | |
long long | stringToNum (const std::string &t) |
template<> | |
unsigned long | stringToNum (const std::string &t) |
template<> | |
unsigned long long | 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) |
Field< real_t, 1 > * | createFields (IBlock *const block, StructuredBlockStorage *const storage) |
int | main (int argc, char **argv) |
Main Function ///. | |
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 ///. | |
template<typename T > | |
flag_t | flag_c (T t) |
const FlagUID | FluidFlagUID ("Fluid") |
const FlagUID | NoSlipFlagUID ("NoSlip") |
const FlagUID | NoSlipQBBFlagUID ("NoSlipQBB") |
const FlagUID | MeshObjNoSlipQBBFlagUID ("ObjNoSlipQBB") |
const FlagUID | FreeSlipFlagUID ("FreeSlip") |
const FlagUID | UBBFlagUID ("UBB") |
const FlagUID | OutflowFlagUID ("Outflow") |
const BoundaryUID | NoSlipBoundaryUID ("NoSlip") |
template<typename MeshType > | |
void | vertexToFaceColor (MeshType &mesh, const typename MeshType::Color &defaultColor) |
[vertexToFaceColor] | |
__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. | |
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. | |
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) |
Variables | |
const int | ARBITRARY_VALUE = 424242 |
constexpr uint_t | FieldGhostLayer {1} |
std::unordered_map< std::string, FlagUID > | flagMap |
auto | velocityCallback |
auto | wallDistanceCallback |
uint_t | numGhostLayers = uint_t(1) |
const uint_t | FieldGhostLayers = uint_t(1) |
[variableDefines] | |
using walberla::Block = blockforest::Block |
using walberla::BoundaryCollection_T = lbm::LBComplexGeometryBoundaryCollection< FlagField_T > |
using walberla::byte_t = uint8_t |
using walberla::cell_idx_t = int |
typedef LatticeModel_T::CommunicationStencil walberla::CommunicationStencil_T = LatticeModel_T::CommunicationStencil |
using walberla::DeviceSynchronizeSweepTimeloop = typename timeloop::SweepTimeloop < timing::DeviceSynchronizePolicy > |
using walberla::DeviceSynchronizeTimeloop = typename timeloop::Timeloop < timing::DeviceSynchronizePolicy > |
typedef FlagField< flag_t > walberla::FlagField_T = FlagField< flag_t > |
using walberla::float32 = float |
using walberla::float64 = double |
using walberla::FreeSlip_T = lbm::FreeSlip< LatticeModel_T, FlagField_T > |
using walberla::id_t = uint64_t |
using walberla::int16_t = std::int16_t |
16 bit signed integer
using walberla::int32_t = std::int32_t |
32 bit signed integer
using walberla::int64_t = std::int64_t |
64 bit signed integer
using walberla::int8_t = std::int8_t |
8 bit signed integer
typedef lbm::D2Q9< lbm::collision_model::SRT > walberla::LatticeModel_T = lbm::SRTLatticeModel |
Typedef Aliases ///.
[typedefs]
using walberla::LBMCommunicationStencil_T = StorageSpecification_T::CommunicationStencil |
typedef std::function< void(const uint_t)> walberla::LevelFunction = std::function<void (const uint_t)> |
using walberla::Mesh_T = mesh::TriangleMesh |
typedef lbm::NoSlip< LatticeModel_T, flag_t > walberla::NoSlip_T = lbm::CumulantMRTNoSlip |
[boundaryTypedefs] boundary handling
using walberla::omp_lock_t |
using walberla::omp_sched_t |
using walberla::Outlet_T = lbm::Outlet< LatticeModel_T, FlagField_T > |
typedef pystencils::CumulantMRTPackInfo walberla::PackInfo_T = pystencils::SRTPackInfo |
Typedef Aliases ///.
using walberla::ParserUBB_T = lbm::ParserUBB< LatticeModel_T, flag_t > |
typedef lbm::PdfField< LatticeModel_T > walberla::PdfField_T = lbm::PdfField< LatticeModel_T > |
[typedefs]
using walberla::Pressure_T = lbm::Pressure< LatticeModel_T, flag_t > |
using walberla::ptrdiff_t = std::ptrdiff_t |
using walberla::real_t = float |
typedef GhostLayerField< real_t, 1 > walberla::ScalarField = GhostLayerField< real_t, 1 > |
using walberla::SimplePAB_T = lbm::SimplePAB< LatticeModel_T, FlagField_T > |
using walberla::SimpleUBB_T = lbm::SimpleUBB< LatticeModel_T, flag_t > |
using walberla::size_t = std::size_t |
typedef stencil::D2Q5 walberla::Stencil_T = LatticeModel_T::Stencil |
using walberla::StorageSpecification_T = lbm::LBComplexGeometryStorageSpecification |
using walberla::SweepCollection_T = lbm::LBComplexGeometrySweepCollection |
using walberla::SweepTimeloop = typename timeloop::SweepTimeloop < > |
using walberla::Timeloop = typename timeloop::Timeloop < > |
typedef lbm::UBB< LatticeModel_T, flag_t > walberla::UBB_T = lbm::SimpleUBB<LatticeModel_T, flag_t> |
using walberla::uint16_t = std::uint16_t |
16 bit unsigned integer
using walberla::uint32_t = std::uint32_t |
32 bit unsigned integer
using walberla::uint64_t = std::uint64_t |
64 bit unsigned integer
using walberla::uint8_t = std::uint8_t |
8 bit unsigned integer
using walberla::uint_t = std::size_t |
using walberla::VectorField_T = field::GhostLayerField< real_t, Stencil_T::D > |
|
inline |
|
inline |
REAL_T walberla::byteArrayToReal | ( | const std::vector< uint8_t > & | array, |
const uint_t | offset ) |
|
inline |
Converts 'bytes' bytes stored in 'array' starting at 'array[offset]' into a value of type uint_t (complementary operation/function: uintToByteArray)
|
inline |
cast to type cell_idx_t using "cell_idx_c(x)"
void walberla::convert | ( | const std::vector< bool > & | from, |
std::vector< uint8_t > & | to ) |
void walberla::convert | ( | const std::vector< uint8_t > & | from, |
std::vector< bool > & | to ) |
Field< real_t, 1 > * walberla::createFields | ( | IBlock *const | block, |
StructuredBlockStorage *const | storage ) |
shared_ptr< vtk::VTKOutput > walberla::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.
|
inline |
cast to type double
const FlagUID walberla::DynamicUBBFlagUID | ( | "DynamicUBB Flag" | ) |
|
inline |
|
inline |
cast to type float
|
inline |
|
inline |
|
inline |
const FlagUID walberla::Fluid_Flag | ( | "fluid" | ) |
const FlagUID walberla::FluidFlagUID | ( | "Fluid Flag" | ) |
const FlagUID walberla::FluidFlagUID | ( | "Fluid" | ) |
std::string walberla::format | ( | const std::string & | formatString, |
Args &&... | args ) |
format uses the printf syntax to format a given formatString and return a std::string
formatString | the format string |
args | all arguments which will be inserted into the string, these CANNOT be std::string but have to be converted using .c_str() |
this size is arbitrary
const FlagUID walberla::FreeSlipFlagUID | ( | "FreeSlip Flag" | ) |
const FlagUID walberla::FreeSlipFlagUID | ( | "FreeSlip" | ) |
__global__ void walberla::gameOfLifeKernel | ( | gpu::FieldAccessor< real_t > | src, |
gpu::FieldAccessor< real_t > | dst ) |
std::string walberla::getHostName | ( | ) |
uint_t walberla::getpid | ( | ) |
long walberla::getResidentMemorySize | ( | ) |
void walberla::initBC | ( | const shared_ptr< StructuredBlockStorage > & | blocks, |
const BlockDataID & | srcID, | ||
const BlockDataID & | dstID ) |
void walberla::initDirichletBoundaryNorth | ( | shared_ptr< StructuredBlockForest > | blocks, |
BlockDataID | uId, | ||
BlockDataID | uTmpId ) |
void walberla::initRHS | ( | const shared_ptr< StructuredBlockStorage > & | blocks, |
const BlockDataID & | rhsID ) |
void walberla::initShearFlowVelocityField | ( | const shared_ptr< StructuredBlockForest > & | blocks, |
const BlockDataID & | velocityFieldId, | ||
const Config::BlockHandle & | config ) |
Shear Flow Velocity Initialization ///.
void walberla::initU | ( | const shared_ptr< StructuredBlockStorage > & | blocks, |
const BlockDataID & | uID ) |
|
inline |
cast to type int16_t using "int16_c(x)"
|
inline |
cast to type int32_t using "int32_c(x)"
|
inline |
cast to type int64_t using "int64_c(x)"
|
inline |
cast to type int8_t using "int8_c(x)"
|
inline |
cast to type int using "int_c(x)"
|
inline |
If you want to compare two reals using operator == and you really know what you are doing, you can use the following function:
int walberla::main | ( | int | argc, |
char ** | argv ) |
Main Function ///.
[vertexToFaceColor]
MAIN.
SIMULATION PARAMETERS ///
BLOCK STORAGE SETUP ///
FIELDS ///
COMMUNICATION ///
DIRICHLET BOUNDARY ///
NEUMANN BOUNDARY ///
TIMELOOP ///
Block Storage Creation and Simulation Parameter ///
Field Setup ///
Shear Flow Setup ///
Boundary Handling ///
Time Loop ///
Block Storage Creation and Simulation Parameter ///
PDF Field and Velocity Setup ///
Sweep ///
Boundary Handling ///
Time Loop ///
PARAMETER INPUT ///
[parseDomainParameters]
[parseDomainParameters]
PROCESS MESH ///
[readMesh]
[readMesh]
[triDist]
[triDist]
[octree]
[octree]
[octreeVTK]
[octreeVTK]
CREATE BLOCK FOREST ///
[aabb]
[aabb]
[bfc]
[bfc]
[blockForest]
[blockForest]
CREATE AND INITIALIZE FIELDS ///
BOUNDARY HANDLING ///
[DefaultBoundaryHandling]
[DefaultBoundaryHandling]
[colorToBoundary]
[colorToBoundary]
[VTKMesh]
[VTKMesh]
[boundarySetup]
[boundarySetup]
SET UP SWEEPS AND TIMELOOP ///
VTK OUTPUT ///
[Params]
[Params] [height]
[height]
[Omega]
[Omega]
[geomboundary]
[geomboundary]
[Logger]
[Logger]
[timeTracker]
[timeTracker]
[boundaryHandlingID]
[boundaryHandlingID]
[boundarySweep]
[boundarySweep]
[timeTracker_coupling]
[timeTracker_coupling]
SIMULATION PARAMETERS ///
BLOCK STORAGE SETUP ///
FIELDS ///
COMMUNICATION ///
DIRICHLET BOUNDARY ///
NEUMANN BOUNDARY ///
TIMELOOP ///
Block Storage Creation and Simulation Parameter ///
Field Setup ///
Shear Flow Setup ///
Boundary Handling ///
Time Loop ///
Block Storage Creation and Simulation Parameter ///
PDF Field and Velocity Setup ///
Sweep ///
Boundary Handling ///
Time Loop ///
PARAMETER INPUT ///
[parseDomainParameters]
[parseDomainParameters]
PROCESS MESH ///
[readMesh]
[readMesh]
[triDist]
[triDist]
[octree]
[octree]
[octreeVTK]
[octreeVTK]
CREATE BLOCK FOREST ///
[aabb]
[aabb]
[bfc]
[bfc]
[blockForest]
[blockForest]
CREATE AND INITIALIZE FIELDS ///
BOUNDARY HANDLING ///
[DefaultBoundaryHandling]
[DefaultBoundaryHandling]
[colorToBoundary]
[colorToBoundary]
[VTKMesh]
[VTKMesh]
[boundarySetup]
[boundarySetup]
SET UP SWEEPS AND TIMELOOP ///
VTK OUTPUT ///
[Params]
[Params] [height]
[height]
[Omega]
[Omega]
[geomboundary]
[geomboundary]
[Logger]
[Logger]
[timeTracker]
[timeTracker]
[boundaryHandlingID]
[boundaryHandlingID]
[boundarySweep]
[boundarySweep]
[timeTracker_coupling]
[timeTracker_coupling]
|
inline |
|
inline |
SharedFunctor< F > walberla::makeSharedFunctor | ( | const shared_ptr< F > & | functorPtr | ) |
const FlagUID walberla::MeshObjNoSlipQBBFlagUID | ( | "ObjNoSlipQBB" | ) |
const FlagUID walberla::NoSlip_Flag | ( | "no slip" | ) |
const BoundaryUID walberla::NoSlipBoundaryUID | ( | "NoSlip" | ) |
const FlagUID walberla::NoSlipFlagUID | ( | "NoSlip Flag" | ) |
const FlagUID walberla::NoSlipFlagUID | ( | "NoSlip" | ) |
const FlagUID walberla::NoSlipQBBFlagUID | ( | "NoSlipQBB" | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool walberla::operator!= | ( | const RandomUUID & | lhs, |
const RandomUUID & | rhs ) |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
std::ostream & walberla::operator<< | ( | std::ostream & | os, |
const ParameterList< Type > & | v ) |
std::ostream & walberla::operator<< | ( | std::ostream & | os, |
const RandomUUID & | uuid ) |
|
inline |
bool walberla::operator== | ( | const RandomUUID & | lhs, |
const RandomUUID & | rhs ) |
std::istream & walberla::operator>> | ( | std::istream & | is, |
ParameterList< Type > & | v ) |
const FlagUID walberla::OutflowFlagUID | ( | "Outflow" | ) |
const FlagUID walberla::OutletFlagUID | ( | "Outlet Flag" | ) |
const FlagUID walberla::ParserUBBFlagUID | ( | "ParserUBB Flag" | ) |
const FlagUID walberla::PressureFlagUID | ( | "Pressure Flag" | ) |
void walberla::printResidentMemoryStatistics | ( | ) |
Determines memory usage on all MPI processes and prints statistics.
Output is in kilobytes.
|
inline |
cast to type real_t using "real_c(x)"
|
inline |
uint_t walberla::realToByteArray | ( | const REAL_T | value, |
std::vector< uint8_t > & | array, | ||
const uint_t | offset ) |
|
inline |
|
inline |
void walberla::setFlags | ( | shared_ptr< StructuredBlockForest > & | blocks, |
const BlockDataID & | boundaryHandlingId ) |
Initialization function used for setting flags in the flag field.
Since the goal of this simulation is a lid driven cavity, all cells at the domain border need to be set to no slip, except for the cells at the top: they have to be marked with the velocity bounce back flag. Additionally, all the remaining cells have to be marked as fluid cells.
|
inline |
|
inline |
|
inline |
|
inline |
const FlagUID walberla::SimplePABFlagUID | ( | "SimplePAB Flag" | ) |
const FlagUID walberla::SimplePressureFlagUID | ( | "SimplePressure Flag" | ) |
void walberla::simpleSweep | ( | IBlock * | block, |
BlockDataID | fieldBlockDataID ) |
const FlagUID walberla::SimpleUBBFlagUID | ( | "SimpleUBB Flag" | ) |
void walberla::sleep | ( | uint_t | seconds | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void walberla::swapFields | ( | StructuredBlockForest & | blocks, |
BlockDataID | uID, | ||
BlockDataID | uTmpID ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
const FlagUID walberla::UBB_Flag | ( | "velocity bounce back" | ) |
const FlagUID walberla::UBBFlagUID | ( | "UBB Flag" | ) |
const FlagUID walberla::UBBFlagUID | ( | "UBB" | ) |
|
inline |
cast to type uint16_t using "uint16_c(x)"
|
inline |
cast to type uint32_t using "uint32_c(x)"
|
inline |
cast to type uint64_t using "uint64_c(x)"
|
inline |
cast to type uint8_t using "uint8_c(x)"
|
inline |
cast to type uint_t using "uint_c(x)"
|
inline |
Stores the 'bytes' least significant bytes of 'value' in 'array' starting at 'array[offset]' (complementary operation/function: byteArrayToUint)
void walberla::vertexToFaceColor | ( | MeshType & | mesh, |
const typename MeshType::Color & | defaultColor ) |
[vertexToFaceColor]
const int walberla::ARBITRARY_VALUE = 424242 |
|
constexpr |
std::unordered_map<std::string, FlagUID> walberla::flagMap |
auto walberla::velocityCallback |
auto walberla::wallDistanceCallback |