STORMM Source Documentation
Loading...
Searching...
No Matches
write_annotated_frame.h
1// -*-c++-*-
2#ifndef STORMM_WRITE_SDF_H
3#define STORMM_WRITE_SDF_H
4
5#include <vector>
6#include "copyright.h"
7#include "FileManagement/file_util.h"
8#include "Synthesis/phasespace_synthesis.h"
9#include "coordinateframe.h"
10#include "coordinate_series.h"
11#include "coordinate_swap_plan.h"
12#include "phasespace.h"
13
14namespace stormm {
15namespace trajectory {
16
17using diskutil::PrintSituation;
18using synthesis::PhaseSpaceSynthesis;
19using synthesis::PsSynthesisReader;
20
60void writeFrame(std::ofstream *foutp, const TextFile &tf);
61
62void writeFrame(const std::string &filename, PrintSituation expectation, const TextFile &tf);
63
64void writeFrame(std::ofstream *foutp, const TextFile &tf, const double* xcrd, const double* ycrd,
65 const double* zcrd, const CoordinateSwapPlan &excision);
66
67void writeFrame(const std::string &filename, PrintSituation expectation, const TextFile &tf,
68 const double* xcrd, const double* ycrd, const double* zcrd,
69 const CoordinateSwapPlan &excision);
70
71void writeFrame(const std::string &filename, PrintSituation expectation, const TextFile &tf,
72 const PhaseSpaceReader &psr, const CoordinateSwapPlan &excision);
73
74void writeFrame(const std::string &filename, PrintSituation expectation, const TextFile &tf,
75 const PhaseSpace &ps, const CoordinateSwapPlan &excision);
76
77void writeFrame(const std::string &filename, PrintSituation expectation, const TextFile &tf,
78 const PhaseSpace &ps, const CoordinateSwapPlan &excision,
79 CoordinateCycle time_point = CoordinateCycle::WHITE);
80
81void writeFrame(const std::string &filename, PrintSituation expectation, const TextFile &tf,
82 const CoordinateFrameReader &cfr, const CoordinateSwapPlan &excision);
83
84void writeFrame(const std::string &filename, PrintSituation expectation, const TextFile &tf,
85 const CoordinateFrame &cf, const CoordinateSwapPlan &excision);
86
87template <typename T>
88void writeFrame(std::ofstream *foutp, PrintSituation expectation, const TextFile &tf,
89 const CoordinateSeriesReader<T> &csr, const CoordinateSwapPlan &excision);
90
91template <typename T>
92void writeFrame(std::ofstream *foutp, const TextFile &tf, const CoordinateSeries<T> &cs,
93 const CoordinateSwapPlan &excision);
94
95template <typename T>
96void writeFrame(const std::string &filename, PrintSituation expectation, const TextFile &tf,
97 const CoordinateSeries<T> &cs, const CoordinateSwapPlan &excision);
98
99void writeFrame(std::ofstream *foutp, const std::vector<TextFile> &tf_list,
100 const PsSynthesisReader &poly_psr,
101 const std::vector<CoordinateSwapPlan> &excision_list,
102 const std::vector<int> &plan_indices);
103
104void writeFrame(const std::string &filename, PrintSituation expectation,
105 const std::vector<TextFile> &tf_list, const PhaseSpaceSynthesis &poly_ps,
106 const std::vector<CoordinateSwapPlan> &excision_list,
107 const std::vector<int> &plan_indices);
108
109void writeFrame(const std::string &filename, PrintSituation expectation,
110 const std::vector<TextFile> &tf_list, const PhaseSpaceSynthesis &poly_ps,
111 const std::vector<CoordinateSwapPlan> &excision_list,
112 const std::vector<int> &plan_indices,
113 CoordinateCycle time_point = CoordinateCycle::WHITE);
115
116} // namespace trajectory
117} // namespace stormm
118
119#include "write_annotated_frame.tpp"
120
121#endif
Structure for translating a text file into a compact, rapidly parsable vector of characters in CPU RA...
Definition textfile.h:45
A fixed-precision representation of coordinates, velocities, and forces to manage a set of simulation...
Definition phasespace_synthesis.h:325
Store the coordinates and box information for a frame, only. This abridged struct can serve when the ...
Definition coordinateframe.h:111
Store the coordinates and box information for a series of frames, in one of several levels of precisi...
Definition coordinate_series.h:137
Collect the information needed to swap the coordinates (and, if applicable, the box information) in a...
Definition coordinate_swap_plan.h:14
An object to complement a topology and hold positions, velocities, and forces of all particles in a s...
Definition phasespace.h:141
The reader for a PhaseSpaceSynthesis object, containing all of the data relevant for propagating dyna...
Definition phasespace_synthesis.h:199
Collect C-style pointers for the elements of a read-only CoordinateFrame object.
Definition coordinateframe.h:65
Collect C-style pointers and critical constants for a read-only CoordinateSeries object.
Definition coordinate_series.h:96
Collect constants and pointers to the components of a read-only PhaseSpace object.
Definition phasespace.h:81