SpECTRE  v2021.12.06
observers::ThreadedActions::WriteSimpleData Struct Reference

Append data to an h5::Dat subfile of Tags::VolumeFileName. More...

#include <WriteSimpleData.hpp>

Static Public Member Functions

template<typename ParallelComponent , typename DbTagsList , typename Metavariables , typename ArrayIndex , Requires< tmpl::list_contains_v< DbTagsList, Tags::H5FileLock > > = nullptr>
static void apply (db::DataBox< DbTagsList > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &, const gsl::not_null< Parallel::NodeLock * > node_lock, const std::vector< std::string > &file_legend, const std::vector< double > &data_row, const std::string &subfile_name)
 

Detailed Description

Append data to an h5::Dat subfile of Tags::VolumeFileName.

Details

This is a streamlined interface for getting data to the volume file associated with a node; it will simply write the .dat object subfile_name, giving it the file_legend if it does not yet exist, appending data_row to the end of the dat.


The documentation for this struct was generated from the following file: