DefaultWriter class
          #include <src/args-callback/callbacks.hpp>
        
        Contents
Default output writer for RunArgs. This class serves as a callable callback object to output data to a file stream.
Constructors, destructors, conversion operators
- DefaultWriter(std::string const& file_name) explicit
 
Public functions
- 
              template<typename ParticleSys>void operator()(ParticleSys& ptc, typename ParticleSys::Scalar step_size)
 
Function documentation
               hub:: callback:: DefaultWriter:: DefaultWriter(std::string const& file_name) explicit 
            
            | Parameters | |
|---|---|
| file_name | The file name of the output file stream. | 
Constructor of the output writer.
              
                template<typename ParticleSys>
              
              void hub:: callback:: DefaultWriter:: operator()(ParticleSys& ptc,
              typename ParticleSys::Scalar step_size)
            
            | Template parameters | |
|---|---|
| ParticleSys | Any type provides method time() | 
                
| Parameters | |
| ptc in/out | Input parameter. | 
| step_size in | The step size of the integration. | 
Callable interface.