93 if (pstv.
speed == 0) {
119 if (pstv.
speed == 0) {
145 void print(std::ostream& file,
int l)
const;
192 virtual void step(std::vector<gparticle*>& secondaries);
210 virtual void physics(std::vector<gparticle*>& ) {}
225 virtual void fly(std::vector<gparticle*>& secondaries) {
226 mfunname(
"virtual void gparticle::fly()");
232 virtual void print(std::ostream& file,
int l)
const;
virtual void income(gparticle *)
virtual void print(std::ostream &file, int l) const
virtual ~gparticle()
Destructor.
virtual void physics_mrange(double &fmrange)
static long max_q_zero_step
virtual void change_vol(void)
virtual void physics_after_new_speed(std::vector< gparticle * > &)
virtual void curvature(int &fs_cf, vec &frelcen, vfloat &fmrange, vfloat prec)
double total_range_from_origin
Range from origin to currpos.
virtual stvpoint calc_step_to_bord()
Produces nextpos.
virtual void step(std::vector< gparticle * > &secondaries)
gparticle()
Default constructor.
stvpoint switch_new_vol()
virtual void physics(std::vector< gparticle * > &)
virtual gparticle * copy() const
long n_zero_step
Number of previous steps with zero range (including this step).
virtual void fly(std::vector< gparticle * > &secondaries)
Transport the particle.
Service class (array of manip_absvol).
void down_absref(absref *f)
void up_absref(absref *f)
absvol * G_lavol() const
Get last address of volume.
Abstract base classs for volume "manipulators".
Point in space, time and velocity.
void print(std::ostream &file, int l) const
stvpoint(const stvpoint &pstv, const trajestep &ts, int fsb, int fs_ent, PassivePtr< manip_absvol > &faeid)
stvpoint(const stvpoint &fp)
vec dirloc
Unit vector, in the local system (last system in the tree).
stvpoint(const stvpoint &pstv, const trajestep &ts, vfloat mrange, int fsb, int fs_ent, PassivePtr< manip_absvol > &faeid)
vec dir
Unit vector, in the first system in the tree.
PassivePtr< manip_absvol > next_eid
stvpoint(const point &fpt, const vec &fdir, vfloat fspeed, manip_absvol_treeid &ftid, vfloat fprange, vfloat ftime, int fsb, int fs_ent, PassivePtr< manip_absvol > &faeid)
vfloat prange
Range from previous point.
vfloat speed
Longitudinal velocity.
point pt
Coordinates in the first system in the tree.
point ptloc
Coordinates in the local system (last system in the tree).
vfloat mrange
Maximal possible range.
void Gnextpoint(vfloat frange, point &fpos, vec &fdir) const