VIPRA Documentation
Loading...
Searching...
No Matches
VIPRA::Output::TrajectoriesJson Class Reference

JSON output module for writing trajectories to a JSON file. More...

#include <trajectories_json.hpp>

Inheritance diagram for VIPRA::Output::TrajectoriesJson:
Collaboration diagram for VIPRA::Output::TrajectoriesJson:

Public Member Functions

void write (std::filesystem::path const &outputDir) override
 
void timestep_update (VIPRA::timestep, VIPRA::delta_t, VIPRA::State const &state) override
 
- Public Member Functions inherited from VIPRA::Modules::Module< TrajectoriesJson >
void register_params (Parameters &paramIn)
 Registers the modules parameters with the parameter reader.
 
void config (Parameters &paramIn, VIPRA::Random::Engine &engine)
 Loads in all parameters for the module.
 
- Public Member Functions inherited from VIPRA::Modules::Output
virtual void reset_module ()=0
 
 Output (const Output &)=default
 
 Output (Output &&)=delete
 
auto operator= (const Output &) -> Output &=default
 
auto operator= (Output &&) -> Output &=delete
 

Public Attributes

VIPRA_OUTPUT_RESET override { _trajectories = {}
 

Detailed Description

JSON output module for writing trajectories to a JSON file.

Member Function Documentation

◆ timestep_update()

void VIPRA::Output::TrajectoriesJson::timestep_update ( VIPRA::timestep ,
VIPRA::delta_t ,
VIPRA::State const & state )
overridevirtual

◆ write()

void VIPRA::Output::TrajectoriesJson::write ( std::filesystem::path const & outputDir)
overridevirtual

The documentation for this class was generated from the following files: