|
GraviDy
1.0
Gravitational Dynamics N-body integrator
|
Class in charge of the general aspects of the N-body integrator. More...
#include <NbodySystem.hpp>

Public Member Functions | |
| NbodySystem (OptionsParser op) | |
| Constructor. More... | |
| ~NbodySystem () | |
| Destructor. More... | |
| void | read_input_file () |
| Method in charge of reading the input file. More... | |
| void | copy_input_data () |
| Initialization of the data readed from the Input/Snapshot file to the data structures that the code will use. More... | |
| void | alloc_base_attributes (int rank) |
| Memory allocation for the identification, positions, and velocities of the particles. More... | |
| void | free_base_attributes () |
| Memory deallocation for the identification, positions, and velocities of the particles. More... | |
Class in charge of the general aspects of the N-body integrator.
Here is all the informattion related to the integration process, particle information, filenames, etc.
| NbodySystem::NbodySystem | ( | OptionsParser | op | ) |
Constructor.
| NbodySystem::~NbodySystem | ( | ) |
Destructor.
| void NbodySystem::alloc_base_attributes | ( | int | rank | ) |
Memory allocation for the identification, positions, and velocities of the particles.
| void NbodySystem::copy_input_data | ( | ) |
Initialization of the data readed from the Input/Snapshot file to the data structures that the code will use.
| void NbodySystem::free_base_attributes | ( | ) |
Memory deallocation for the identification, positions, and velocities of the particles.
| void NbodySystem::read_input_file | ( | ) |
Method in charge of reading the input file.
This can be done from a Snapshot file or a normal Input file.
| double* NbodySystem::d_dt[MAXGPUS] |
| double* NbodySystem::d_ekin[MAXGPUS] |
| double* NbodySystem::d_epot[MAXGPUS] |
| unsigned int* NbodySystem::d_id[MAXGPUS] |
| unsigned int* NbodySystem::d_move[MAXGPUS] |
| double* NbodySystem::d_t[MAXGPUS] |
| double NbodySystem::dt_cl |
| double NbodySystem::e2 |
| Energy NbodySystem::en |
| float NbodySystem::eta |
| int NbodySystem::gpus |
| Gtime NbodySystem::gtime |
| double3* NbodySystem::h_a2 |
| double3* NbodySystem::h_a3 |
| double* NbodySystem::h_dt |
| double* NbodySystem::h_ekin |
| double* NbodySystem::h_epot |
| Forces* NbodySystem::h_f |
| Forces* NbodySystem::h_fout_tmp |
| Predictor* NbodySystem::h_i |
| unsigned int* NbodySystem::h_id |
| unsigned int* NbodySystem::h_move |
| Forces* NbodySystem::h_old |
| Predictor* NbodySystem::h_p |
| double4* NbodySystem::h_r |
| double* NbodySystem::h_t |
| double4* NbodySystem::h_v |
| std::string NbodySystem::input_filename |
| float NbodySystem::integration_time |
| long long int NbodySystem::iterations |
| double NbodySystem::m_g |
| float NbodySystem::max_mass |
| unsigned int NbodySystem::n |
| options NbodySystem::ops |
| std::string NbodySystem::output_filename |
| double NbodySystem::r_cl |
| double NbodySystem::r_core |
| float NbodySystem::r_hm |
| float NbodySystem::r_virial |
| std::vector<file_data> NbodySystem::reader |
| bool NbodySystem::resume |
| std::string NbodySystem::resume_filename |
| std::string NbodySystem::snapshot_filename |
| unsigned int NbodySystem::snapshot_number |
| double NbodySystem::snapshot_time |
| float NbodySystem::t_cr |
| float NbodySystem::t_rlx |
| float NbodySystem::total_mass |
1.8.12