Loading...
Searching...
No Matches
xdmf.hpp File Reference
#include <fstream>
#include "mpi/mpi.hpp"
#include "terra/grid/shell/spherical_shell.hpp"
#include "util/filesystem.hpp"
#include "util/logging.hpp"
#include "util/result.hpp"
#include "util/xml.hpp"

Go to the source code of this file.

Classes

class  terra::io::XDMFOutput< InputGridScalarType >
 XDMF output that simultaneously serves for visualization with software like Paraview and as a simulation checkpoint. More...
 
struct  terra::io::CheckpointMetadata
 
struct  terra::io::CheckpointMetadata::GridDataFile
 

Namespaces

namespace  terra
 
namespace  terra::io
 

Functions

util::Result< CheckpointMetadataterra::io::read_xdmf_checkpoint_metadata (const std::string &checkpoint_directory)
 Reads metadata from an XDMF/checkpoint directory. See XDMFOutput for details.
 
template<typename GridDataType >
util::Result terra::io::read_xdmf_checkpoint_grid (const std::string &checkpoint_directory, const std::string &data_label, const int step, const grid::shell::DistributedDomain &distributed_domain, GridDataType &grid_data_device)
 Reads a single grid at a single write step from an XDMF checkpoint.