Namespace for everything PlasCom2-specific.
Namespaces | |
io | |
operators | |
Namespace for PlasCom2 numerical operators and associated data structures. | |
TestFixture | |
Namespace for storing simple test utility fixtures. | |
util | |
Classes | |
class | application |
class | ParallelTestingObject |
Project-specific parallel testing object. More... | |
struct | process_info |
class | TestComLine |
ComLineObject for PlasCom2 testing command-line interface. More... | |
class | TestingObject |
Project-specific testing object. More... | |
Typedefs | |
typedef simulation::grid::parallel_blockstructured | grid_t |
typedef simulation::state::base | state_t |
typedef simulation::grid::halo | halo_t |
typedef simulation::domain::base< grid_t, state_t > | domain_t |
typedef simulation::application< domain_t > | application_t |
typedef ix::test::results | TestResults |
Project-specific test results type. More... | |
typedef ix::comm::CommunicatorObject | CommType |
Convenience typedef for CommunicatorObject. More... | |
Functions | |
template<typename GridType > | |
int | GenerateGrid (GridType &inGrid, const std::string &gridName, const fixtures::ConfigurationType &inConfig, std::ostream &messageStream) |
std::string | VirtualNodeReport (pcpp::VirtualNodeType &virtualNode) |
Reports the virtual node setup. More... | |
std::string | Splash () |
std::string | IORootName () |
int | ParallelTest (int argc, char *argv[]) |
Drives the PlasCom2::TestObject. More... | |
int | Test (int argc, char *argv[]) |
Drives the plascom2::TestObject. More... | |
typedef simulation::application<domain_t> application_t |
Definition at line 20 of file PlasCom2.H.
typedef ix::comm::CommunicatorObject CommType |
Convenience typedef for CommunicatorObject.
Definition at line 20 of file PC2ParallelTestDriver.C.
typedef simulation::domain::base<grid_t,state_t> domain_t |
Definition at line 19 of file PlasCom2.H.
Definition at line 16 of file PlasCom2.H.
typedef simulation::grid::halo halo_t |
Definition at line 18 of file PlasCom2.H.
typedef simulation::state::base state_t |
Definition at line 17 of file PlasCom2.H.
typedef ix::test::results TestResults |
Project-specific test results type.
Test results types can be custom implemented by the project developer. The requirement is that they produce the proper test results output when used with outstreams.
Definition at line 44 of file PlasCom2Test.H.
int plascom2::GenerateGrid | ( | GridType & | inGrid, |
const std::string & | gridName, | ||
const fixtures::ConfigurationType & | inConfig, | ||
std::ostream & | messageStream | ||
) |
Definition at line 173 of file PC2Configuration.C.
References gridgen::Cylinder2D(), Parameters::GetValue(), and Parameters::GetValueVector().
Referenced by application::ConfigureSimulation(), and parallel_blockstructured::Halo().
std::string plascom2::IORootName | ( | ) |
Definition at line 8 of file PC2WriteDomains.C.
int plascom2::ParallelTest | ( | int | argc, |
char * | argv[] | ||
) |
Drives the PlasCom2::TestObject.
argc | number of string command line tokens |
argv | string command line tokens |
Drives the PlasCom2::TestObject, which should encapsulate all the tests for the PlasCom2 namespace (and thus the project).
Command line documentation:
plascom2_test [-h] [-v [level] -o <filename> -l <filename> -n <TestName> ] -h,--help Print out long version of help and exit. -v,--verblevel [level] Set the verbosity level. (default = 0) -o,--output <filename> Set the output file to <filename>. (default = stdout) -l,--list <filename> Set the list file name to <filename>. (no default). The list file should be a text file with one test name per line. -n,--name <TestName> Run test by name. (no default)
Definition at line 50 of file PC2ParallelTestDriver.C.
References CommunicatorObject::Barrier(), CommunicatorObject::Check(), ComLineObject::ErrorReport(), ComLineObject::GetOption(), TestComLine::Initialize(), ComLineObject::LongUsage(), ParallelTestingObject< CommType, ResultsType >::Process(), ComLineObject::ProcessOptions(), CommunicatorObject::Rank(), ParallelTestingObject< CommType, ResultsType >::RunTest(), CommunicatorObject::SetExit(), ComLineObject::ShortUsage(), and CommunicatorObject::Size().
Referenced by main().
std::string plascom2::Splash | ( | ) |
Definition at line 26 of file PC2Initialize.C.
Referenced by application::InitializeApplication().
int plascom2::Test | ( | int | argc, |
char * | argv[] | ||
) |
Drives the plascom2::TestObject.
argc | number of string command line tokens |
argv | string command line tokens |
Drives the PlasCom2::TestObject, which should encapsulate all the tests for the PlasCom2 namespace (and thus the project).
Command line documentation:
plascom2_test [-h] [-v [level] -o <filename> -l <filename> -n <TestName> ] -h,--help Print out long version of help and exit. -v,--verblevel [level] Set the verbosity level. (default = 0) -o,--output <filename> Set the output file to <filename>. (default = stdout) -l,--list <filename> Set the list file name to <filename>. (no default). The list file should be a text file with one test name per line. -n,--name <TestName> Run test by name. (no default)
Definition at line 45 of file PC2TestDriver.C.
References ComLineObject::ErrorReport(), ComLineObject::GetOption(), TestComLine::Initialize(), ComLineObject::LongUsage(), TestingObject< ResultsType >::Process(), ComLineObject::ProcessOptions(), TestingObject< ResultsType >::RunTest(), and ComLineObject::ShortUsage().
Referenced by main().
std::string plascom2::VirtualNodeReport | ( | pcpp::VirtualNodeType & | virtualNode | ) |
Reports the virtual node setup.
Produces a report string for the virtual node setup including:
virtualNode a pcpp::VirtualNodeType data object report a std::string with the formated report text
Definition at line 499 of file PC2Configuration.C.
References virtual_node::computeCommunicator, virtual_node::computeRank, virtual_node::ioCommunicator, virtual_node::ioPerNode, virtual_node::ioRank, virtual_node::numNodes, virtual_node::performCompute, virtual_node::performIO, virtual_node::procsPerNode, and CommunicatorObject::Size().
Referenced by application::ConfigureSimulation().