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

Classes

class  EKContainer
class  EKFFT
struct  EKReactionSliceAdapter
 Adapter that exposes EKReactionBaseIndexed with the interface expected by LatticeSlice::gather_3d / scatter_3d. More...
class  EKIndexedReactionSlice
class  EKNone
class  EKPoissonVTKHandle
class  EKPoissonSolver
class  EKPoissonSolverNode
class  EKPoissonSolverSlice
class  EKReactant
class  EKReaction
class  EKBulkReaction
class  EKIndexedReaction
class  EKReactions
class  EKVTKHandle
class  EKSpecies
class  EKSpeciesNode
struct  EKFieldSerializer
class  EKSpeciesSlice
class  LatticeModel
class  LatticeSlice
class  LatticeWalberla
class  LBVTKHandle
class  LBFluid
class  LBFluidNode
struct  LBFieldSerializer
class  LBFluidSlice
class  VTKHandleBase
class  CheckpointFile
 Handle for a checkpoint file. More...

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

void ek_throw_if_expired (std::optional< ResourceObserver > const &mpi_obs)
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)
void lb_throw_if_expired (std::optional< ResourceObserver > const &mpi_obs)
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::filesystem::path const &path, 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::filesystem::path const &path, int mode, F1 const write_metadata, F2 const write_data, F3 const on_failure)

Typedef Documentation

◆ DensityBoundaryType

using ScriptInterface::walberla::DensityBoundaryType = std::optional<double>

Definition at line 50 of file EKSpeciesSlice.hpp.

◆ FluxBoundaryType

Definition at line 51 of file EKSpeciesSlice.hpp.

◆ VelocityBounceBackType

Definition at line 50 of file LBFluidSlice.hpp.

Enumeration Type Documentation

◆ CptMode

enum class ScriptInterface::walberla::CptMode : int
strong
Enumerator
ascii 
binary 
unit_test_runtime_error 
unit_test_ios_failure 

Definition at line 43 of file WalberlaCheckpoint.hpp.

Function Documentation

◆ ek_throw_if_expired()

void ScriptInterface::walberla::ek_throw_if_expired ( std::optional< ResourceObserver > const & mpi_obs)
inline

◆ 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)

◆ is_boundary_all_reduce() [1/2]

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]

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

Definition at line 42 of file LBFluidNode.cpp.

◆ lb_throw_if_expired()

void ScriptInterface::walberla::lb_throw_if_expired ( std::optional< ResourceObserver > const & mpi_obs)
inline

◆ load_checkpoint_common()

template<typename F1, typename F2, typename F3>
void ScriptInterface::walberla::load_checkpoint_common ( Context const & context,
std::string const classname,
std::filesystem::path const & path,
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::filesystem::path const & path,
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 51 of file WalberlaCheckpoint.hpp.

References ascii, binary, unit_test_ios_failure, and unit_test_runtime_error.