BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
SampleToPython.cpp File Reference

Description

Implements class SampleToPython.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file SampleToPython.cpp.

Include dependency graph for SampleToPython.cpp:

Go to the source code of this file.

Variables

static const std::map< int, char > axisChar {{0, 'X'}, {1, 'Y'}, {2, 'Z'}}
 
const std::map< MATERIAL_TYPES, std::string > factory_names
 

Variable Documentation

◆ axisChar

const std::map<int, char> axisChar {{0, 'X'}, {1, 'Y'}, {2, 'Z'}}
static

Definition at line 42 of file SampleToPython.cpp.

◆ factory_names

const std::map<MATERIAL_TYPES, std::string> factory_names
Initial value:
{
{MATERIAL_TYPES::RefractiveMaterial, "RefractiveMaterial"},
{MATERIAL_TYPES::MaterialBySLD, "MaterialBySLD"}}

Definition at line 143 of file SampleToPython.cpp.

Referenced by SampleToPython::defineMaterials().