void ab3_ndir | ( | double | dt, | |
wave_front * | y0, | |||
wave_front * | y1, | |||
wave_front * | y2, | |||
wave_front * | y3, | |||
bool | no_alias = true | |||
) | [static, private] |
Adams-Bashforth (3rd order) estimate of ndirection.
dt | Time step | |
y0 | Direction of wavefront 2 iterations ago (input). | |
y1 | Direction of wavefront 1 iteration ago (input). | |
y2 | Current ndirection estimate (input). | |
y3 | New ndirection estimate (result). | |
no_alias | Use uBLAS noalias() assignment speed-up if true. |
void ab3_pos | ( | double | dt, | |
wave_front * | y0, | |||
wave_front * | y1, | |||
wave_front * | y2, | |||
wave_front * | y3, | |||
bool | no_alias = true | |||
) | [static, private] |
Adams-Bashforth (3rd order) estimate of position.
Includes calculation of distance between current and new positions.
dt | Time step | |
y0 | Position of wavefront 2 iterations ago (input). | |
y1 | Position of wavefront 1 iteration ago (input). | |
y2 | Current position estimate (input). | |
y3 | New position estimate (result). | |
no_alias | Use uBLAS noalias() assignment speed-up if true. |
void rk1_ndir | ( | double | dt, | |
wave_front * | y0, | |||
wave_front * | y1, | |||
bool | no_alias = true | |||
) | [static, private] |
First ndirection estimate in 3rd order Runge-Kutta.
dt | Time step | |
y0 | Initial ndirection of wavefront (input) | |
y1 | First ndirection estimate (result). | |
no_alias | Use uBLAS noalias() assignment speed-up if true. |
void rk1_pos | ( | double | dt, | |
wave_front * | y0, | |||
wave_front * | y1, | |||
bool | no_alias = true | |||
) | [static, private] |
First position estimate in 3rd order Runge-Kutta.
dt | Time step | |
y0 | Initial position of wavefront (input) | |
y1 | First position estimate (result). | |
no_alias | Use uBLAS noalias() assignment speed-up if true. |
void rk2_ndir | ( | double | dt, | |
wave_front * | y0, | |||
wave_front * | y1, | |||
wave_front * | y2, | |||
bool | no_alias = true | |||
) | [static, private] |
Second ndirection estimate in 3rd order Runge-Kutta.
dt | Time step | |
y0 | Initial ndirection of wavefront (input) | |
y1 | First ndirection estimate (input). | |
y2 | Second ndirection estimate (result). | |
no_alias | Use uBLAS noalias() assignment speed-up if true. |
void rk2_pos | ( | double | dt, | |
wave_front * | y0, | |||
wave_front * | y1, | |||
wave_front * | y2, | |||
bool | no_alias = true | |||
) | [static, private] |
Second position estimate in 3rd order Runge-Kutta.
dt | Time step | |
y0 | Initial position of wavefront (input) | |
y1 | First position estimate (input). | |
y2 | Second position estimate (result). | |
no_alias | Use uBLAS noalias() assignment speed-up if true. |
void rk3_ndir | ( | double | dt, | |
wave_front * | y0, | |||
wave_front * | y1, | |||
wave_front * | y2, | |||
wave_front * | y3, | |||
bool | no_alias = true | |||
) | [static, private] |
Third (and final) ndirection estimate in 3rd order Runge-Kutta.
dt | Time step | |
y0 | Initial ndirection of wavefront (input) | |
y1 | First ndirection estimate (input). | |
y2 | Second ndirection estimate (input). | |
y3 | Third ndirection estimate (result). | |
no_alias | Use uBLAS noalias() assignment speed-up if true. |
void rk3_pos | ( | double | dt, | |
wave_front * | y0, | |||
wave_front * | y1, | |||
wave_front * | y2, | |||
wave_front * | y3, | |||
bool | no_alias = true | |||
) | [static, private] |
Third (and final) position estimate in 3rd order Runge-Kutta.
dt | Time step | |
y0 | Initial position of wavefront (input) | |
y1 | First position estimate (input). | |
y2 | Second position estimate (input). | |
y3 | Third position estimate (result). | |
no_alias | Use uBLAS noalias() assignment speed-up if true. |
friend class reflection_model [friend] |
friend class wave_queue [friend] |