PlasCom2  1.0
XPACC Multi-physics simluation application
TestHDF5.C File Reference
#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"
Include dependency graph for TestHDF5.C:

Go to the source code of this file.

Typedefs

typedef pcpp::ParallelGlobalType global_t
 

Functions

void TestHDF5LegacyFileInfo (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 
void TestHDF5Read2DBlockStructuredGrid (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 
void TestPCPPHDF5Read (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 
void TestPCPPHDF5Write (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 
void TestHDF5HyperSlab (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 
void TestHDF5GridIO (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 
void TestHDF5PBSGridIO (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 
void TestPlasCom2Output (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 
void TestPlasCom2Input (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 

Typedef Documentation

◆ global_t

Definition at line 16 of file TestHDF5.C.

Function Documentation

◆ TestHDF5GridIO()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestHDF5HyperSlab()

◆ TestHDF5LegacyFileInfo()

◆ TestHDF5PBSGridIO()

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().

Here is the caller graph for this function:

◆ TestHDF5Read2DBlockStructuredGrid()

◆ TestPCPPHDF5Read()

◆ TestPCPPHDF5Write()

◆ TestPlasCom2Input()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestPlasCom2Output()

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().

Here is the call graph for this function:
Here is the caller graph for this function: