|
GInX
Geodesics Integrator tool for particles in GRMHD using Adaptive Mesh Refinement using AMReX.
|
#include <cctk.h>#include "Photons.hxx"#include "ParticlesContainer.hxx"#include "PhotonsInitializers.hxx"#include <AMReX_ParallelDescriptor.H>#include <CParameters.h>#include <cstring>#include <driver.hxx>#include <cctk_Arguments.h>#include <cctk_Parameters.h>#include <cctk_Types.h>#include <cctk_core.h>#include <iostream>#include <loop_device.hxx>
Include dependency graph for ParticlesEvolution.cxx:Typedefs | |
| using | ParticleData = GInX::PhotonsData |
| using | PC = GInX::ParticlesContainer< ParticleData > |
Functions | |
| void | ParticlesContainer_setup (CCTK_ARGUMENTS) |
| Initialize particles' data. More... | |
| void | ParticlesContainer_evolve (CCTK_ARGUMENTS) |
| Evolve the geodesics. More... | |
| void | ParticlesContainer_print (CCTK_ARGUMENTS) |
| Print out particle data. More... | |
| int | ParticlesContainer_final_cleanup () |
| Clean the memory and data structures. More... | |
Variables | |
| std::vector< std::unique_ptr< PC > > | photons |
| using ParticleData = GInX::PhotonsData |
| using PC = GInX::ParticlesContainer<ParticleData> |
| void ParticlesContainer_evolve | ( | CCTK_ARGUMENTS | ) |
Evolve the geodesics.
This function evolves the particles position by numerically solve the geodesic equations.
| int ParticlesContainer_final_cleanup | ( | ) |
Clean the memory and data structures.
| void ParticlesContainer_print | ( | CCTK_ARGUMENTS | ) |
Print out particle data.
| void ParticlesContainer_setup | ( | CCTK_ARGUMENTS | ) |
Initialize particles' data.
This function initializes particles' position, velocity and energy distributing the particle using the methods defined inside of the PhotonsInitializers.hxx file and allwed in the param.ccl file
| std::vector<std::unique_ptr<PC> > photons |