7 #ifndef SRC_INCLUDE_CUSTOMNUCLEUS_H_ 8 #define SRC_INCLUDE_CUSTOMNUCLEUS_H_ 58 void fill_from_list(
const std::vector<Nucleoncustom>& vec);
69 std::vector<Nucleoncustom> readfile(std::ifstream& infile,
70 int particle_number)
const;
87 int number_of_nucleons_ = 0;
99 static std::string streamfile(
const std::string& file_directory,
100 const std::string& file_name);
119 #endif // SRC_INCLUDE_CUSTOMNUCLEUS_H_
The ThreeVector class represents a physical three-vector with the components .
std::vector< Nucleoncustom > custom_nucleon_
Vector contianing Data for one nucleus given in the particlelist.
bool isospin
to differentiate between protons isospin=1 and neutrons isospin=0
static bool checkfileopen_
Bool variable to check if the file was already opened.
A nucleus is a collection of particles that are initialized, before the beginning of the simulation a...
Interface to the SMASH configuration files.
Inheriting from Nucleus-Class using modified Nucleon configurations.
Contains data for one nucleon that is read in from the list.
static std::unique_ptr< std::ifstream > filestream_
Variable carrying the output of the streamfile function.
bool spinprojection
spinprojection of the nucleon
std::string particle_list_file_directory_
Directory where the nucleon configurations are located.
std::string particle_list_file_name_
File name of the nucleon configurations.