Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io::RotatedProjWriter Class Reference

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)
 

Detailed Description

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.

Member Function Documentation

◆ operator()()

void io::RotatedProjWriter::operator() ( Grid3D G,
Parameters  P,
int  nfile,
const FnameTemplate fname_template 
)

Writes the rotated projection to disk.

Note
In case you are unaware, this overloads the "function call operator". If we have an instance, obj, then you call this method by invoking obj(G, P, nfile, fname_template). In python, this method would be named __call__.

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