#include <alsuq/config/Setup.hpp>
|
typedef boost::property_tree::ptree | ptree |
|
◆ ptree
◆ makeRunner()
std::shared_ptr< run::Runner > alsuq::config::Setup::makeRunner |
( |
const std::string & |
inputFilename, |
|
|
mpi::ConfigurationPtr |
mpiConfigurationWorld, |
|
|
int |
multiSample, |
|
|
ivec3 |
multiSpatial |
|
) |
| |
Creates a new UQ runner.
- Parameters
-
inputFilename | the input XML filename |
mpiConfigurationWorld | the top level mpi configuration to use (for most practical use cases, this is MPI_COMM_WORLD) |
multiSample | the number of samples to run in parallel |
multiSpatial | a 3 vector, for which each component is the number of processors to use in each direction. |
- Note
- We require that
multiSamples*multiSpatial.x*multiSpatial.y*multiSpatial.z == mpiConfigurationWorld.getNumberOfProcesses();
◆ makeSampleGenerator()
std::shared_ptr< samples::SampleGenerator > alsuq::config::Setup::makeSampleGenerator |
( |
const std::string & |
inputFilename | ) |
|
◆ readNumberOfSamples()
size_t alsuq::config::Setup::readNumberOfSamples |
( |
const std::string & |
inputFilename | ) |
|
◆ readSampleStart()
size_t alsuq::config::Setup::readSampleStart |
( |
const std::string & |
inputFilename | ) |
|
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/alsvinn/checkouts/latest/alsuq/include/alsuq/config/Setup.hpp
- /home/docs/checkouts/readthedocs.org/user_builds/alsvinn/checkouts/latest/alsuq/src/config/Setup.cpp