|
CG
Version 25
|
#include "Cgsm.h"#include "SmParameters.h"#include "GenericGraphicsInterface.h"#include "ParallelUtility.h"
Macros | |
| #define | U2D(x, y, z, t) ( amp*exp( - alpha*( SQR((x)-(xPulse-c*t)) + SQR((y)-yPulse) ) ) ) |
| #define | U2DT(x, y, z, t) ( (-2.*c*alpha)*( (x)-(xPulse-c*t) )*U2D(x,y,z,t) ) |
| #define | U2DX(x, y, z, t) ( ( -2.*alpha)*( (x)-(xPulse-c*t) )*U2D(x,y,z,t) ) |
| #define | U2DY(x, y, z, t) ( ( -2.*alpha)*( (y)-(yPulse ) )*U2D(x,y,z,t) ) |
| #define | U3D(x, y, z, t) (amp*exp( - alpha*( SQR((x)-(xPulse-c*t)) + SQR((y)-yPulse) + SQR((z)-zPulse) ) )) |
| #define | U3DT(x, y, z, t) ( (-2.*c*alpha)*( (x)-(xPulse-c*t) )*U3D(x,y,z,t) ) |
| #define | U3DX(x, y, z, t) ( ( -2.*alpha)*( (x)-(xPulse-c*t) )*U3D(x,y,z,t) ) |
| #define | U3DY(x, y, z, t) ( ( -2.*alpha)*( (y)-(yPulse ) )*U3D(x,y,z,t) ) |
| #define | U3DZ(x, y, z, t) ( ( -2.*alpha)*( (z)-(zPulse ) )*U3D(x,y,z,t) ) |
Referenced by Cgsm::userDefinedInitialConditions().
Referenced by Cgsm::userDefinedInitialConditions().
Referenced by Cgsm::userDefinedInitialConditions().
| #define U3D | ( | x, | |
| y, | |||
| z, | |||
| t | |||
| ) | (amp*exp( - alpha*( SQR((x)-(xPulse-c*t)) + SQR((y)-yPulse) + SQR((z)-zPulse) ) )) |
1.8.3