Project
Loading...
Searching...
No Matches
field-uniform-exporter.cxx File Reference
#include <boost/program_options.hpp>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/variables_map.hpp>
#include <Field/MagneticField.h>
#include <memory>
#include "GPUDisplayMagneticField.h"

Go to the source code of this file.

Functions

template<std::size_t MAX_DIM1_SEGMENTS, std::size_t MAX_DIM2_SEGMENTS, std::size_t MAX_DIM3_SEGMENTS>
void saveSegments (std::ofstream &file, int32_t NSegDim1, int32_t NSegDim2, int32_t NSegDim3, GPUDisplayMagneticField::SegmentsUniform< MAX_DIM1_SEGMENTS, MAX_DIM2_SEGMENTS, MAX_DIM3_SEGMENTS > &segments)
 
template<std::size_t DIMENSIONS, std::size_t MAX_PARAMETERIZATIONS, std::size_t MAX_ROWS, std::size_t MAX_COLUMNS, std::size_t MAX_COEFFICIENTS>
void saveParams (std::ofstream &file, int32_t numberOfParametrization, int32_t Nrows, int32_t Ncolums, int32_t Ncoeffs, GPUDisplayMagneticField::ParametrizationUniform< MAX_PARAMETERIZATIONS, MAX_ROWS, MAX_COLUMNS, MAX_COEFFICIENTS > &param)
 
int32_t main (int argc, char **argv)
 

Detailed Description

Author
Piotr Nowakowski

Definition in file field-uniform-exporter.cxx.

Function Documentation

◆ main()

int32_t main ( int  argc,
char **  argv 
)

Definition at line 82 of file field-uniform-exporter.cxx.

◆ saveParams()

template<std::size_t DIMENSIONS, std::size_t MAX_PARAMETERIZATIONS, std::size_t MAX_ROWS, std::size_t MAX_COLUMNS, std::size_t MAX_COEFFICIENTS>
void saveParams ( std::ofstream &  file,
int32_t  numberOfParametrization,
int32_t  Nrows,
int32_t  Ncolums,
int32_t  Ncoeffs,
GPUDisplayMagneticField::ParametrizationUniform< MAX_PARAMETERIZATIONS, MAX_ROWS, MAX_COLUMNS, MAX_COEFFICIENTS > &  param 
)

Definition at line 54 of file field-uniform-exporter.cxx.

◆ saveSegments()

template<std::size_t MAX_DIM1_SEGMENTS, std::size_t MAX_DIM2_SEGMENTS, std::size_t MAX_DIM3_SEGMENTS>
void saveSegments ( std::ofstream &  file,
int32_t  NSegDim1,
int32_t  NSegDim2,
int32_t  NSegDim3,
GPUDisplayMagneticField::SegmentsUniform< MAX_DIM1_SEGMENTS, MAX_DIM2_SEGMENTS, MAX_DIM3_SEGMENTS > &  segments 
)

Definition at line 27 of file field-uniform-exporter.cxx.