FileParticle
-
class FileParticle
See Particle files and units for more details.
Public Functions
-
void read_properties(const std::string file_name, Particle *particle)
Read pair properties from file and assign properties to particle.
-
int read_num_in_section(const std::string §ion, const std::string &file_name, const std::string comment = "#") const
Return the number of enteries in a given section, which is defined by an empty line at the beginning and end. Ignore lines beginning with a comment character.
-
void read_properties(const std::string file_name, Particle *particle)