PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
pvdCollectionWriter.cpp File Reference
#include "pvdCollectionWriter.h"
#include <fstream>
#include <iomanip>
#include <stdexcept>
Include dependency graph for pvdCollectionWriter.cpp:

Go to the source code of this file.

Namespaces

namespace  rw
 Collection of methods and database related to reading and writing.
 

Functions

void rw::writePvdCollectionFile (const std::string &pvd_path, const std::vector< std::pair< double, std::string > > &time_and_vtu_relative_path)
 Write a ParaView VTK collection (.pvd) that lists VTU files with timesteps.
 
void rw::writePvtuCollectionFile (const std::string &pvtu_path, const std::vector< std::string > &piece_vtu_relative_paths, const std::vector< PvtuPointArray > &point_arrays={})
 Write a ParaView parallel VTU (.pvtu) that lists per-rank .vtu pieces.