ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ScriptInterface::walberla Namespace Reference

Classes

class  CheckpointFile
 Handle for a checkpoint file. More...
 
class  EKBulkReaction
 
class  EKContainer
 
class  EKFFT
 
struct  EKFieldSerializer
 
class  EKIndexedReaction
 
class  EKNone
 
class  EKPoissonSolver
 
class  EKReactant
 
class  EKReaction
 
class  EKReactions
 
class  EKSpecies
 
class  EKSpeciesNode
 
class  EKSpeciesSlice
 
class  EKVTKHandle
 
class  LatticeModel
 
class  LatticeSlice
 
class  LatticeWalberla
 
struct  LBFieldSerializer
 
class  LBFluid
 
class  LBFluidCPU
 
class  LBFluidGPU
 
class  LBFluidNode
 
class  LBFluidSlice
 
class  LBVTKHandle
 
class  VTKHandleBase
 

Typedefs

using DensityBoundaryType = std::optional< double >
 
using FluxBoundaryType = std::optional< Utils::Vector3d >
 
using VelocityBounceBackType = std::optional< Utils::Vector3d >
 

Enumerations

enum class  CptMode : int { ascii = 0 , binary = 1 , unit_test_runtime_error = -1 , unit_test_ios_failure = -2 }
 

Functions

static bool is_boundary_all_reduce (boost::mpi::communicator const &comm, std::optional< bool > const &is_boundary)
 
void initialize (Utils::Factory< ObjectHandle > *om)
 
auto gather_slices_topology (boost::mpi::communicator const &comm, Utils::Vector3i const &local_lower_corner, Utils::Vector3i const &local_upper_corner)
 
static bool is_boundary_all_reduce (boost::mpi::communicator const &comm, std::optional< bool > const &is_boundary)
 
void unit_test_handle (int mode)
 Inject code for unit tests.
 
template<typename F1 , typename F2 , typename F3 >
void load_checkpoint_common (Context const &context, std::string const classname, std::string const &filename, int mode, F1 const read_metadata, F2 const read_data, F3 const on_success)
 
template<typename F1 , typename F2 , typename F3 >
void save_checkpoint_common (Context const &context, std::string const classname, std::string const &filename, int mode, F1 const write_metadata, F2 const write_data, F3 const on_failure)
 

Typedef Documentation

◆ DensityBoundaryType

◆ FluxBoundaryType

◆ VelocityBounceBackType

Enumeration Type Documentation

◆ CptMode

Enumerator
ascii 
binary 
unit_test_runtime_error 
unit_test_ios_failure 

Definition at line 42 of file WalberlaCheckpoint.hpp.

Function Documentation

◆ gather_slices_topology()

auto ScriptInterface::walberla::gather_slices_topology ( boost::mpi::communicator const comm,
Utils::Vector3i const local_lower_corner,
Utils::Vector3i const local_upper_corner 
)
inline

◆ initialize()

void ScriptInterface::walberla::initialize ( Utils::Factory< ObjectHandle > *  om)

Definition at line 52 of file walberla/initialize.cpp.

References ScriptInterface::get_value().

Referenced by ScriptInterface::initialize().

◆ is_boundary_all_reduce() [1/2]

static bool ScriptInterface::walberla::is_boundary_all_reduce ( boost::mpi::communicator const comm,
std::optional< bool > const is_boundary 
)
static

◆ is_boundary_all_reduce() [2/2]

static bool ScriptInterface::walberla::is_boundary_all_reduce ( boost::mpi::communicator const comm,
std::optional< bool > const is_boundary 
)
static

Definition at line 39 of file LBFluidNode.cpp.

◆ load_checkpoint_common()

template<typename F1 , typename F2 , typename F3 >
void ScriptInterface::walberla::load_checkpoint_common ( Context const context,
std::string const  classname,
std::string const filename,
int  mode,
F1 const  read_metadata,
F2 const  read_data,
F3 const  on_success 
)

◆ save_checkpoint_common()

template<typename F1 , typename F2 , typename F3 >
void ScriptInterface::walberla::save_checkpoint_common ( Context const context,
std::string const  classname,
std::string const filename,
int  mode,
F1 const  write_metadata,
F2 const  write_data,
F3 const  on_failure 
)

◆ unit_test_handle()

void ScriptInterface::walberla::unit_test_handle ( int  mode)
inline

Inject code for unit tests.

Definition at line 50 of file WalberlaCheckpoint.hpp.

References ascii, binary, ScriptInterface::get_value(), unit_test_ios_failure, and unit_test_runtime_error.