1 #ifndef OGTrigFunction_h
2 #define OGTrigFunction_h "OGTrigFunction.h"
29 const int & maximumNumberOfComponents=10);
59 return cos(fx(n)*(x-gx(n)))*cos(fy(n)*(y-gy(n)))*cos(fz(n)*(z-gz(n)))*cos(ft(n)*(
t-gt(n)))*a(n)+cc(n);
63 return -ft(n)*cos(fx(n)*(x-gx(n)))*cos(fy(n)*(y-gy(n)))*cos(fz(n)*(z-gz(n)))*sin(ft(n)*(
t-gt(n)))*a(n);
67 return -fx(n)* sin(fx(n)*(x-gx(n)))*cos(fy(n)*(y-gy(n)))*cos(fz(n)*(z-gz(n)))*cos(ft(n)*(
t-gt(n)))*a(n);
71 return -fy(n)* cos(fx(n)*(x-gx(n)))*sin(fy(n)*(y-gy(n)))*cos(fz(n)*(z-gz(n)))*cos(ft(n)*(
t-gt(n)))*a(n);
75 return -fx(n)*fx(n)*cos(fx(n)*(x-gx(n)))*cos(fy(n)*(y-gy(n)))*cos(fz(n)*(z-gz(n)))*cos(ft(n)*(
t-gt(n)))*a(n);
79 return fx(n)*fy(n)*sin(fx(n)*(x-gx(n)))*sin(fy(n)*(y-gy(n)))*cos(fz(n)*(z-gz(n)))*cos(ft(n)*(
t-gt(n)))*a(n);
83 return -fy(n)*fy(n)*cos(fx(n)*(x-gx(n)))*cos(fy(n)*(y-gy(n)))*cos(fz(n)*(z-gz(n)))*cos(ft(n)*(
t-gt(n)))*a(n);
87 return -fz(n)* cos(fx(n)*(x-gx(n)))*cos(fy(n)*(y-gy(n)))*sin(fz(n)*(z-gz(n)))*cos(ft(n)*(
t-gt(n)))*a(n);
91 return fx(n)*fz(n)*sin(fx(n)*(x-gx(n)))*cos(fy(n)*(y-gy(n)))*sin(fz(n)*(z-gz(n)))*cos(ft(n)*(
t-gt(n)))*a(n);
95 return fy(n)*fz(n)*cos(fx(n)*(x-gx(n)))*sin(fy(n)*(y-gy(n)))*sin(fz(n)*(z-gz(n)))*cos(ft(n)*(
t-gt(n)))*a(n);
99 return -fz(n)*fz(n)*cos(fx(n)*(x-gx(n)))*cos(fy(n)*(y-gy(n)))*cos(fz(n)*(z-gz(n)))*cos(ft(n)*(
t-gt(n)))*a(n);
122 virtual real gd(
const int & ntd,
const int & nxd,
const int & nyd,
const int & nzd,
126 const Index & I3,
const Index & N);
128 const Index & I3,
const Index & N,
const real t,
132 const Index & I3,
const Index & N,
const real t=0.,
135 const Index & I3,
const Index & N,
const real t=0.,
138 const Index & I3,
const Index & N,
const real t=0.,
141 const Index & I3,
const Index & N,
const real t=0.,
144 const Index & I3,
const Index & N,
const real t=0.,
147 const Index & I3,
const Index & N,
const real t=0.,
150 const Index & I3,
const Index & N,
const real t=0.,
153 const Index & I3,
const Index & N,
const real t=0.,
156 const Index & I3,
const Index & N,
const real t=0.,
159 const Index & I3,
const Index & N,
const real t=0.,
162 const Index & I3,
const Index & N,
const real t=0.,
165 const Index & I3,
const Index & N,
const real t=0.,
168 const Index & I3,
const Index & N,
const real t=0.,
171 const MappedGrid & c,
const Index & I1,
const Index & I2,
172 const Index & I3,
const Index & N,
const real t=0.,
179 const int numberOfDimensions,
180 const bool isRectangular,
181 const int & ntd,
const int & nxd,
const int & nyd,
const int & nzd,
182 const Index & I1,
const Index & I2,
183 const Index & I3,
const Index & N,
184 const real t=0.,
int option =0 );