/home/runner/work/spades/spades/Source/Utilities.H File Reference
|
SPADES API
|
Utilities.H File Reference
#include <AMReX.H>#include <AMReX_RealVect.H>#include <AMReX_MultiFab.H>#include <AMReX_MultiFabUtil.H>#include <AMReX_Random.H>#include "Constants.H"
Include dependency graph for Utilities.H:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
| struct | spades::HasProcessOp< typename, typename > |
Trait to determine if a class defines a nested struct named ProcessOp. More... | |
| struct | spades::HasProcessOp< T, std::void_t< typename T::ProcessOp > > |
Specialization for when the class T defines a nested struct ProcessOp. More... | |
Namespaces | |
| namespace | spades |
| Solver for PArallel Discrete Event Simulation. | |
Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Long | spades::pairing_function (const amrex::Long k1, const amrex::Long k2) |
| Cantor pairing function. | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | spades::random_exponential (const amrex::Real lambda, amrex::RandomEngine const &engine) |
| Exponential distribution. | |
| amrex::Real | spades::random_exponential (const amrex::Real lambda) |
| Exponential distribution. | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::uint64_t | spades::max_representation (const int nbits) |
| Maximum unsigned integer representation given a number of bits. | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::uint64_t | spades::bitmask (const int nbits) |
| bitmask given a number of bits | |
| void | spades::goto_next_line (std::istream &is) |
| Skip to the next line in stream. | |
| void | spades::read_file (const std::string &filename, amrex::Vector< char > &charBuf, bool bExitOnError) |
| Read and broadcast file to all ranks. | |
Generated by