SPH
Public Member Functions | List of all members
PkdgravInput Class Reference

Input for pkdgrav output files (ss.xxxxx.bt). More...

#include <Output.h>

Inheritance diagram for PkdgravInput:
IInput Polymorphic

Public Member Functions

virtual Outcome load (const Path &path, Storage &storage, Statistics &stats) override
 Loads data from the file into the storage. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Input for pkdgrav output files (ss.xxxxx.bt).

Mainly indended for analysis of the result, creating histograms, etc. Cannot be used to continue a simulation.

Definition at line 561 of file Output.h.

Member Function Documentation

◆ load()

Outcome PkdgravInput::load ( const Path path,
Storage storage,
Statistics stats 
)
overridevirtual

Loads data from the file into the storage.

This will remove any data previously stored in storage. Function can also load additional run statistics, such as time of the snapshot, and save it to provided stats value.

Todo:
here we actually store radius in rho ...
Todo:
too high, fix

Implements IInput.

Definition at line 1391 of file Output.cpp.


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