mphray
Evaluate expressions on particle and ray trajectories.
Syntax
pd = mphray(model)
pd = mphray(model,'expr',{e1,...,en},...)
Description
pd = mphray(model) returns particle position and particle velocity at all time steps stored in the first particle dataset.
pd = mphray(model,'expr',{e1,...,en},...) returns particle position, particle velocity and expressions e1,...,en evaluated on particle or ray trajectories.
pd is a structure with fields p, v, d#, t, expr, and unit.
The field p contains the position of the particles.
The field v contains the velocity of the particles.
The field d# contains the result of evaluation #.
The field t contains the time for evaluation.
The field expr contains the evaluated expressions.
The field unit contains the unit of evaluations.
The function mphray accepts the following property/value pairs:
Note: mphray only evaluates expressions using particle and ray datasets.
See also
mpheval, mphevalpoint, mphevalpoint, mphint2, mphinterp, mphparticle