#include "Testing.H"
#include "Simulation.H"
#include "Stencil.H"
#include "PCPPCommUtil.H"
#include "PCPPIO.H"
#include "PCPPReport.H"
#include "PCPPIntervalUtils.H"
#include "EulerRHS.H"
#include "TestFixtures.H"
#include "EulerTestFixtures.H"
#include "PC2Util.H"
#include "Report.H"
Go to the source code of this file.
Typedefs | |
typedef pcpp::ParallelGlobalType | global_t |
Functions | |
void | TestHDF5LegacyFileInfo (ix::test::results ¶llelUnitResults, pcpp::CommunicatorType &testComm) |
void | TestHDF5Read2DBlockStructuredGrid (ix::test::results ¶llelUnitResults, pcpp::CommunicatorType &testComm) |
void | TestPCPPHDF5Read (ix::test::results ¶llelUnitResults, pcpp::CommunicatorType &testComm) |
void | TestPCPPHDF5Write (ix::test::results ¶llelUnitResults, pcpp::CommunicatorType &testComm) |
void | TestHDF5HyperSlab (ix::test::results ¶llelUnitResults, pcpp::CommunicatorType &testComm) |
void | TestHDF5GridIO (ix::test::results ¶llelUnitResults, pcpp::CommunicatorType &testComm) |
void | TestHDF5PBSGridIO (ix::test::results ¶llelUnitResults, pcpp::CommunicatorType &testComm) |
void | TestPlasCom2Output (ix::test::results ¶llelUnitResults, pcpp::CommunicatorType &testComm) |
void | TestPlasCom2Input (ix::test::results ¶llelUnitResults, pcpp::CommunicatorType &testComm) |
typedef pcpp::ParallelGlobalType global_t |
Definition at line 16 of file TestHDF5.C.
void TestHDF5GridIO | ( | ix::test::results & | parallelUnitResults, |
pcpp::CommunicatorType & | testComm | ||
) |
Definition at line 842 of file TestHDF5.C.
References dataset::AddField(), paralleltopologyinfo::cartDecompDirections, pcpp::report::CartesianSetup(), CommunicatorObject::Check(), pcpp::comm::CheckResult(), base::Close(), parallel_base::Communicator(), parallel_blockstructured::CoordinateData(), dataset::Create(), base::CreateAttribute(), base::CreateGroup(), apptools::DumpContents(), pcpp::io::Everyone(), ix::sys::FILEEXISTS(), pcpp::io::hdf5::FileInfo(), parallel_blockstructured::GenerateCoordinates(), simfileinfo::gridNames, simfileinfo::gridNumDimensions, simfileinfo::gridSizes, parallel_blockstructured::GridSizes(), sizeextent::InitSimple(), paralleltopologyinfo::isPeriodic, simfileinfo::numGrids, base::Open(), parallel_blockstructured::ParallelSetup(), parallel_blockstructured::PartitionInterval(), parallel_blockstructured::PartitionSizes(), parallel_blockstructured::PhysicalExtent(), pressureBuffer, sizeextent::PrettyPrint(), CommunicatorObject::Rank(), pcpp::io::hdf5::ReadGrid(), ix::sys::Remove(), ix::util::RenewStream(), rhoBuffer, rhoEBuffer, rhoVBuffer, CommunicatorObject::SetExit(), dataset::SetFieldBuffer(), parallel_blockstructured::SetGridSpacings(), base::SetStateFields(), pcpp::report::SimFileInfo(), CommunicatorObject::Size(), CommunicatorObject::StreamBroadCast(), results::UpdateResult(), and pcpp::io::hdf5::WriteGrid().
Referenced by ParallelTestingObject< CommType, ResultsType >::Test__Halo__Periodic().
void TestHDF5HyperSlab | ( | ix::test::results & | parallelUnitResults, |
pcpp::CommunicatorType & | testComm | ||
) |
Definition at line 683 of file TestHDF5.C.
References CommunicatorObject::Barrier(), CommunicatorObject::CartCoordinates(), CommunicatorObject::CartDimensions(), pcpp::report::CartesianSetup(), CommunicatorObject::CartNeighbors(), base::Close(), base::Create(), base::CreateDataSet(), pcpp::io::Everyone(), ix::sys::FILEEXISTS(), sizeextent::InitSimple(), sizeextent::NNodes(), base::Open(), pcpp::util::PartitionCartesianExtent(), sizeextent::PrettyPrint(), CommunicatorObject::Rank(), base::ReadHyperSlab(), ix::sys::Remove(), ix::util::RenewStream(), pcpp::comm::SetupCartesianTopology(), sizeextent::Sizes(), sizeextent::Starts(), results::UpdateResult(), and base::WriteHyperSlab().
Referenced by ParallelTestingObject< CommType, ResultsType >::Test__Halo__Periodic().
void TestHDF5LegacyFileInfo | ( | ix::test::results & | parallelUnitResults, |
pcpp::CommunicatorType & | testComm | ||
) |
Definition at line 18 of file TestHDF5.C.
References CommunicatorObject::Check(), pcpp::comm::CheckResult(), pcpp::io::hdf5::FileInfo(), simfileinfo::formatBits, simfileinfo::gridNames, simfileinfo::gridNumDimensions, gridSizes, simfileinfo::gridSizes, pcpp::io::HASGRID, pcpp::io::HASIBLANK, pcpp::io::HASSTATE, pcpp::io::HASTARGDATA, pcpp::io::ISLEGACY, simfileinfo::numGrids, CommunicatorObject::Rank(), CommunicatorObject::SetExit(), pcpp::report::SimFileInfo(), CommunicatorObject::StreamBroadCast(), and results::UpdateResult().
Referenced by ParallelTestingObject< CommType, ResultsType >::Test__Halo__Periodic().
void TestHDF5PBSGridIO | ( | ix::test::results & | parallelUnitResults, |
pcpp::CommunicatorType & | testComm | ||
) |
Definition at line 1204 of file TestHDF5.C.
References dataset::AddField(), parallel_blockstructured::AllocateCoordinateData(), CommunicatorObject::Barrier(), bufferInterval, parallel_blockstructured::BufferSize(), bufferSizes, parallel_blockstructured::BufferSizes(), pcpp::report::CartesianSetup(), CommunicatorObject::Check(), pcpp::comm::CheckResult(), base::Close(), parallel_base::Communicator(), parallel_blockstructured::CoordinateData(), dataset::Create(), base::CreateAttribute(), base::CreateGroup(), parallel_blockstructured::ExchangeCoordinates(), ix::sys::FILEEXISTS(), pcpp::io::hdf5::FileInfo(), ParallelGlobalObj< CommunicatorType, StackType, ErrorType, ProfilerType >::Finalize(), simfileinfo::gridNames, simfileinfo::gridNumDimensions, simfileinfo::gridSizes, parallel_blockstructured::Halo(), ParallelGlobalObj< CommunicatorType, StackType, ErrorType, ProfilerType >::Init(), plascom2::operators::sbp::Initialize(), sizeextent::InitSimple(), paralleltopologyinfo::isPeriodic, dataset::Meta(), numComponents, paralleltopologyinfo::numDimensions, simfileinfo::numGrids, numPointsBuffer, stencilset::numStencils, base::Open(), parallel_blockstructured::ParallelSetup(), parallel_blockstructured::PartitionBufferInterval(), parallel_blockstructured::PartitionInterval(), sizeextent::PrettyPrint(), GlobalObj< StackType, ErrorType, ProfilerType >::Profiling(), CommunicatorObject::Rank(), base::ReadAttribute(), metadataset::ReadFromStream(), pcpp::io::hdf5::ReadGrid(), pcpp::io::hdf5::ReadStateAttributes(), pcpp::io::hdf5::ReadStateNodeData(), ix::sys::Remove(), ix::util::RenewStream(), CommunicatorObject::SetExit(), dataset::SetFieldBuffer(), parallel_blockstructured::SetGridSizes(), base::SetStateFields(), GlobalObj< StackType, ErrorType, ProfilerType >::SetVerbLevel(), pcpp::report::SimFileInfo(), CommunicatorObject::Size(), GlobalObj< StackType, ErrorType, ProfilerType >::StdOut(), CommunicatorObject::StreamBroadCast(), results::UpdateResult(), pcpp::io::hdf5::WriteGrid(), pcpp::io::hdf5::WriteStateAttributes(), pcpp::io::hdf5::WriteStateNodeData(), and metadataset::WriteToStream().
Referenced by ParallelTestingObject< CommType, ResultsType >::Test__Halo__Periodic().
void TestHDF5Read2DBlockStructuredGrid | ( | ix::test::results & | parallelUnitResults, |
pcpp::CommunicatorType & | testComm | ||
) |
Definition at line 223 of file TestHDF5.C.
References parallel_blockstructured::AllocateCoordinateData(), CommunicatorObject::Barrier(), CommunicatorObject::CartCoordinates(), paralleltopologyinfo::cartDecompDirections, CommunicatorObject::CartDimensions(), pcpp::report::CartesianSetup(), CommunicatorObject::CartNeighbors(), CommunicatorObject::Check(), configuration::collectiveMode, pcpp::io::Everyone(), pcpp::io::hdf5::FileInfo(), parallel_blockstructured::Finalize(), simfileinfo::gridNames, simfileinfo::gridSizes, sizeextent::InitSimple(), paralleltopologyinfo::numDimensions, simfileinfo::numGrids, pcpp::util::PartitionCartesianExtent(), parallel_blockstructured::PartitionInterval(), sizeextent::PrettyPrint(), CommunicatorObject::Rank(), ix::util::RenewStream(), CommunicatorObject::SetExit(), parallel_blockstructured::SetGridSizes(), pcpp::comm::SetupCartesianTopology(), CommunicatorObject::Size(), CommunicatorObject::StreamBroadCast(), and results::UpdateResult().
Referenced by ParallelTestingObject< CommType, ResultsType >::Test__Halo__Periodic().
void TestPCPPHDF5Read | ( | ix::test::results & | parallelUnitResults, |
pcpp::CommunicatorType & | testComm | ||
) |
Definition at line 322 of file TestHDF5.C.
References base::AttributeDimensions(), base::AttributeExists(), CommunicatorObject::Check(), base::Close(), base::CloseGroup(), base::DataDimensions(), pcpp::io::Everyone(), base::Exists(), base::Open(), base::OpenGroup(), CommunicatorObject::Rank(), base::ReadAttribute(), ix::util::RenewStream(), CommunicatorObject::SetExit(), and results::UpdateResult().
Referenced by ParallelTestingObject< CommType, ResultsType >::Test__Halo__Periodic().
void TestPCPPHDF5Write | ( | ix::test::results & | parallelUnitResults, |
pcpp::CommunicatorType & | testComm | ||
) |
Definition at line 532 of file TestHDF5.C.
References base::AttributeExists(), base::Close(), base::CreateAttribute(), base::CreateDataSet(), base::CreateGroup(), base::DataDimensions(), base::Exists(), ix::sys::FILEEXISTS(), base::Open(), pcpp::util::ProcessConfigurationFile(), CommunicatorObject::Rank(), base::ReadAttribute(), base::ReadDataSet(), ix::sys::Remove(), and results::UpdateResult().
Referenced by ParallelTestingObject< CommType, ResultsType >::Test__Halo__Periodic().
void TestPlasCom2Input | ( | ix::test::results & | parallelUnitResults, |
pcpp::CommunicatorType & | testComm | ||
) |
Definition at line 2066 of file TestHDF5.C.
References CommunicatorObject::Barrier(), CommunicatorObject::BroadCast(), pcpp::report::CartesianSetup(), ix::sys::ChDir(), CommunicatorObject::Check(), pcpp::comm::CheckResult(), base::Close(), plascom2::util::ConvertLegacyConfiguration(), base::CreateAttribute(), base::CreateGroup(), ix::sys::CWD(), apptools::DumpContents(), GlobalObj< StackType, ErrorType, ProfilerType >::ErrOut(), pcpp::io::hdf5::FetchGridData(), ix::sys::FILEEXISTS(), pcpp::io::hdf5::FileInfo(), Parameters::GetValueVector(), simulation::report::Grid(), simfileinfo::gridNames, gridSizes, simfileinfo::gridSizes, ParallelGlobalObj< CommunicatorType, StackType, ErrorType, ProfilerType >::Init(), paralleltopologyinfo::isPeriodic, paralleltopologyinfo::numDimensions, simfileinfo::numGrids, parallel_blockstructured::ParallelSetup(), pcpp::util::ProcessConfigurationFile(), pcpp::util::ProcessConfigurationRestart(), GlobalObj< StackType, ErrorType, ProfilerType >::Profiling(), CommunicatorObject::Rank(), plascom2::util::ReadLegacyBCDat(), ix::sys::Remove(), ix::util::RenewStream(), CommunicatorObject::SetErr(), parallel_blockstructured::SetGridSizes(), GlobalObj< StackType, ErrorType, ProfilerType >::SetVerbLevel(), pcpp::report::SimFileInfo(), GlobalObj< StackType, ErrorType, ProfilerType >::StdOut(), CommunicatorObject::StreamBroadCast(), and results::UpdateResult().
Referenced by ParallelTestingObject< CommType, ResultsType >::Test__Halo__Periodic().
void TestPlasCom2Output | ( | ix::test::results & | parallelUnitResults, |
pcpp::CommunicatorType & | testComm | ||
) |
Definition at line 1683 of file TestHDF5.C.
References dataset::AddField(), CommunicatorObject::Barrier(), bufferInterval, parallel_blockstructured::BufferSize(), bufferSizes, parallel_blockstructured::BufferSizes(), pcpp::report::CartesianSetup(), pcpp::comm::CheckResult(), base::Close(), parallel_base::Communicator(), parallel_blockstructured::CoordinateData(), dataset::Create(), base::CreateAttribute(), base::CreateGroup(), apptools::DumpContents(), parallel_blockstructured::DX(), ix::sys::FILEEXISTS(), parallel_blockstructured::GenerateCoordinates(), pcpp::util::GetSubConfig(), gridSizes, parallel_blockstructured::Halo(), ParallelGlobalObj< CommunicatorType, StackType, ErrorType, ProfilerType >::Init(), plascom2::operators::sbp::Initialize(), sizeextent::InitSimple(), paralleltopologyinfo::isPeriodic, paralleltopologyinfo::numDimensions, numPointsBuffer, parallel_blockstructured::ParallelSetup(), parallel_blockstructured::PartitionBufferInterval(), parallel_blockstructured::PartitionInterval(), pcpp::util::ProcessConfigurationFile(), GlobalObj< StackType, ErrorType, ProfilerType >::Profiling(), CommunicatorObject::Rank(), ix::sys::Remove(), ix::util::RenewStream(), dataset::SetFieldBuffer(), parallel_blockstructured::SetGridSizes(), parallel_blockstructured::SetType(), testfixtures::euler::SetupEulerState(), GlobalObj< StackType, ErrorType, ProfilerType >::SetVerbLevel(), CommunicatorObject::Size(), GlobalObj< StackType, ErrorType, ProfilerType >::StdOut(), simulation::grid::UNIRECT, results::UpdateResult(), V, pcpp::io::hdf5::WriteGrid(), pcpp::io::hdf5::WriteStateAttributes(), and pcpp::io::hdf5::WriteStateNodeData().
Referenced by ParallelTestingObject< CommType, ResultsType >::Test__Halo__Periodic().