7 #ifndef SRC_INCLUDE_CUSTOMNUCLEUS_H_ 8 #define SRC_INCLUDE_CUSTOMNUCLEUS_H_ 59 void fill_from_list(
const std::vector<Nucleoncustom>& vec);
63 void arrange_nucleons()
override;
72 std::vector<Nucleoncustom> readfile(std::ifstream& infile,
73 int particle_number)
const;
79 std::string file_path(
const std::string& file_directory,
80 const std::string& file_name);
86 void generate_fermi_momenta()
override;
93 int number_of_nucleons_ = 0;
122 #endif // SRC_INCLUDE_CUSTOMNUCLEUS_H_
The ThreeVector class represents a physical three-vector with the components .
bool isospin
to differentiate between protons isospin=1 and neutrons isospin=0
std::vector< Nucleoncustom > custom_nucleus_
Vector contianing Data for one nucleus given in the particlelist.
A nucleus is a collection of particles that are initialized, before the beginning of the simulation a...
std::unique_ptr< std::ifstream > filestream_
Filestream variable used if projectile and target are read in from different files and they therefore...
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_shared_
Filestream variable used if projectile and target are read in from the same file and they use the sam...
bool spinprojection
spinprojection of the nucleon
std::unique_ptr< std::ifstream > * used_filestream_
Pointer to the used filestream pointer.