#include <coUniTracer.h>
|
| coUniTracer (float xmin, float xmax, float ymin, float ymax, float zmin, float zmax, int nx, int ny, int nz, const float *u, const float *v, const float *w) |
|
virtual | ~coUniTracer () |
| desrtuctor More...
|
|
void | solve (const float *yini, std::vector< coUniState > &solution, float eps_rel, float max_length=2.0, float vel_factor=0.005, int ts=1) const |
|
|
bool | interpolate (const float *y, float *dydx) const |
|
float | getInitialH (const float *y, const float *dydx) const |
|
bool | stop (float factor, const std::vector< coUniState > &solu) const |
|
bool | rkqs (float *y, const float *dydx, float *x, float h, float eps, float eps_abs, const float *yscal, float *hdid, float *hnext) const |
|
bool | rkck (const float *y, const float *dydx, float x, float h, float yout[], float yerr[]) const |
|
coUniTracer::coUniTracer |
( |
float |
xmin, |
|
|
float |
xmax, |
|
|
float |
ymin, |
|
|
float |
ymax, |
|
|
float |
zmin, |
|
|
float |
zmax, |
|
|
int |
nx, |
|
|
int |
ny, |
|
|
int |
nz, |
|
|
const float * |
u, |
|
|
const float * |
v, |
|
|
const float * |
w |
|
) |
| |
constructor specifying an input uniform grid and an input velocity field
coUniTracer::~coUniTracer |
( |
| ) |
|
|
virtual |
float coUniTracer::getInitialH |
( |
const float * |
y, |
|
|
const float * |
dydx |
|
) |
| const |
|
private |
bool coUniTracer::interpolate |
( |
const float * |
y, |
|
|
float * |
dydx |
|
) |
| const |
|
private |
bool coUniTracer::rkck |
( |
const float * |
y, |
|
|
const float * |
dydx, |
|
|
float |
x, |
|
|
float |
h, |
|
|
float |
yout[], |
|
|
float |
yerr[] |
|
) |
| const |
|
private |
bool coUniTracer::rkqs |
( |
float * |
y, |
|
|
const float * |
dydx, |
|
|
float * |
x, |
|
|
float |
h, |
|
|
float |
eps, |
|
|
float |
eps_abs, |
|
|
const float * |
yscal, |
|
|
float * |
hdid, |
|
|
float * |
hnext |
|
) |
| const |
|
private |
void coUniTracer::solve |
( |
const float * |
yini, |
|
|
std::vector< coUniState > & |
solution, |
|
|
float |
eps_rel, |
|
|
float |
max_length = 2.0 , |
|
|
float |
vel_factor = 0.005 , |
|
|
int |
ts = 1 |
|
) |
| const |
solve is a driver using a RK-stepper, after compkletion you get the solution in parameter solution yini is an array of three float with the initial point, solution is the output streamline eps_rel is the relative error used by the stepper length_factor is the streamline maximal length relative to the model characteristic dimension and vel_factor is used to specified when the integration is interrupted for too low speeds (a speed is too low when smaller than this factor multiplied by the highest speed in the model).
bool coUniTracer::stop |
( |
float |
factor, |
|
|
const std::vector< coUniState > & |
solu |
|
) |
| const |
|
private |
float covise::coUniTracer::dx_ |
|
private |
float covise::coUniTracer::dy_ |
|
private |
float covise::coUniTracer::dz_ |
|
private |
float covise::coUniTracer::max_vel_ |
|
private |
float covise::coUniTracer::model_length_ |
|
private |
int covise::coUniTracer::nx_ |
|
private |
int covise::coUniTracer::ny_ |
|
private |
int covise::coUniTracer::nz_ |
|
private |
const float* covise::coUniTracer::u_ |
|
private |
const float* covise::coUniTracer::v_ |
|
private |
const float* covise::coUniTracer::w_ |
|
private |
float covise::coUniTracer::xmax_ |
|
private |
float covise::coUniTracer::xmin_ |
|
private |
float covise::coUniTracer::ymax_ |
|
private |
float covise::coUniTracer::ymin_ |
|
private |
float covise::coUniTracer::zmax_ |
|
private |
float covise::coUniTracer::zmin_ |
|
private |
The documentation for this class was generated from the following files: