GInX
Geodesics Integrator tool for particles in GRMHD using Adaptive Mesh Refinement using AMReX.
ParticlesEvolution.cxx File Reference
#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
 

Typedef Documentation

◆ ParticleData

◆ PC

Function Documentation

◆ ParticlesContainer_evolve()

void ParticlesContainer_evolve ( CCTK_ARGUMENTS  )

Evolve the geodesics.

This function evolves the particles position by numerically solve the geodesic equations.

◆ ParticlesContainer_final_cleanup()

int ParticlesContainer_final_cleanup ( )

Clean the memory and data structures.

◆ ParticlesContainer_print()

void ParticlesContainer_print ( CCTK_ARGUMENTS  )

Print out particle data.

◆ ParticlesContainer_setup()

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

Variable Documentation

◆ photons

std::vector<std::unique_ptr<PC> > photons