|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
A callable that writes rotated projections. More...
#include <RotatedProjWriter.h>
Public Member Functions | |
| RotatedProjWriter (ParameterMap &pmap) | |
| void | operator() (Grid3D &G, Parameters P, int nfile, const FnameTemplate &fname_template) |
A callable that writes rotated projections.
For more context, a "callable" object is sometimes called a "functor." Essentially a "callable" object carries around state and can be called like a function.
| void io::RotatedProjWriter::operator() | ( | Grid3D & | G, |
| Parameters | P, | ||
| int | nfile, | ||
| const FnameTemplate & | fname_template | ||
| ) |
Writes the rotated projection to disk.
obj, then you call this method by invoking obj(G, P, nfile, fname_template). In python, this method would be named __call__.