criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
Loading...
Searching...
No Matches
Namespaces | Functions
AdvancePacket.H File Reference

This provides a routine to advance a single packet. More...

#include "CRPacket.H"
#include "FieldQty.H"
#include "Geometry.H"
#include "../Gas/Gas.H"
#include "../Losses/Losses.H"
#include "../Propagation/Propagation.H"
#include "../Utils/RealTensor2.H"
#include "../Utils/RKF.H"
#include "../Utils/RngThread.H"
#include "../Utils/Types.H"
#include "../Utils/Vec3.H"
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  criptic
 The primary namespace for criptic objects.
 

Functions

criptic::Real criptic::advancePacket (const criptic::Real tStart, const criptic::Real tStop, const criptic::Geometry &geom, const criptic::gas::Gas &gasBG, const criptic::propagation::Propagation &prop, const criptic::Losses &loss, const criptic::RngThread &rng, const criptic::FieldQty &qty, const criptic::FieldQtyGrad &qtyGrad, const criptic::Real cStep, const criptic::Real errTol, const criptic::Real wFracMin, const criptic::Real pMin, const criptic::Real TMin, const criptic::Real packetDtMin, const criptic::Real &h, criptic::RealVec &x, criptic::CRPacket &packet, criptic::Real &dt, std::vector< RealVec > &secondaryPositions, std::vector< CRPacket > &secondaryPackets)
 Advance a packet by the specified time.
 

Detailed Description

This provides a routine to advance a single packet.

This file provides the advancePacket routine, which is the fundamental method to advance a single packet in time.