Swarm-NG  1.1
swarm::monitors::log_transit< log_t > Class Template Reference

Monitor that logs (the estimated transit time, the estimated minimum impact parameter in units of stellar radii, and the estimated velocity projected onto the planet of the sky in units of stellar radii per time) at times near a transit EXPERIMENTAL: This class is not thoroughly tested. More...

#include <log_transit.hpp>

Public Member Functions

template<int nbod>
GPUAPI void calc_transit_time (const int &thread_in_system, const int &i, const int &j, const double &dt, double dx[2], double dv[2], const double &b2begin, double &db2dt, const double &pos_step_end, const double &vel_step_end, double &dt_min_b2, double &b, double &vproj)
 calculate the time near the transit More...
 
template<int nbod>
GPUAPI void calc_transit_time_works (const int &i, const int &j, const double &dt, double dx[2], double dv[2], const double &b2begin, double &db2dt, double &dt_min_b2, double &b, double &vproj)
 save one based on simple extrapolation, while working on one that itterates
 

Detailed Description

template<class log_t>
class swarm::monitors::log_transit< log_t >

Monitor that logs (the estimated transit time, the estimated minimum impact parameter in units of stellar radii, and the estimated velocity projected onto the planet of the sky in units of stellar radii per time) at times near a transit EXPERIMENTAL: This class is not thoroughly tested.

  • Assumes integration results in increasing time.
  • Currently, highly experimental
  • Currently, hardwired for Hermite, Fixed, std. Gravitation, nbod=3

parameters have yet to be finalized

Definition at line 74 of file log_transit.hpp.

Member Function Documentation

template<class log_t >
template<int nbod>
GPUAPI void swarm::monitors::log_transit< log_t >::calc_transit_time ( const int &  thread_in_system,
const int &  i,
const int &  j,
const double &  dt,
double  dx[2],
double  dv[2],
const double &  b2begin,
double &  db2dt,
const double &  pos_step_end,
const double &  vel_step_end,
double &  dt_min_b2,
double &  b,
double &  vproj 
)
inline

calculate the time near the transit

calculate forces

Definition at line 128 of file log_transit.hpp.

References swarm::gpu::bppt::sysid_in_block(), swarm::gpu::bppt::thread_body_idx(), and swarm::gpu::bppt::thread_component_idx().


The documentation for this class was generated from the following file: