CG  Version 25
Macros | Enumerations
common/src/userDefinedBoundaryValues.C File Reference
#include "DomainSolver.h"
#include "GenericGraphicsInterface.h"
#include "ParallelUtility.h"
#include "ExternalBoundaryData.h"
#include "Integrate.h"
#include "App.h"
#include "Controller.h"
Include dependency graph for common/src/userDefinedBoundaryValues.C:

Macros

#define FOR_3D(i1, i2, i3, I1, I2, I3)
 
#define FOR_3(i1, i2, i3, I1, I2, I3)
 
#define STIME(t)
 
#define STIME_T(t)   ( amp*Pi*f0*( cos(2.*Pi*f0*(t))+cos(3.*Pi*f0*(t))+cos(4.*Pi*f0*(t))+cos(5.*Pi*f0*(t))) )
 
#define SHEAR(y, t)   ((u1+u2)*.5+(u1-u2)*.5*tanh(beta*((y)-y0)))*STIME(t)
 
#define SHEAR_T(y, t)   ((u1+u2)*.5+(u1-u2)*.5*tanh(beta*((y)-y0)))*STIME_T(t)
 
#define X0(i0, i1, i2)   (xa+dx0*(i0-i0a))
 
#define X1(i0, i1, i2)   (ya+dy0*(i1-i1a))
 
#define X2(i0, i1, i2)   (za+dz0*(i2-i2a))
 
#define X0(i0, i1, i2)   (xa+dx0*(i0-i0a))
 
#define X1(i0, i1, i2)   (ya+dy0*(i1-i1a))
 
#define X2(i0, i1, i2)   (za+dz0*(i2-i2a))
 

Enumerations

enum  UserDefinedBoundaryConditions
 

Macro Definition Documentation

#define FOR_3 (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)
Value:
I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); \
I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); \
for(i3=I3Base; i3<=I3Bound; i3++) \
for(i2=I2Base; i2<=I2Bound; i2++) \
for(i1=I1Base; i1<=I1Bound; i1++)
#define FOR_3D (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)
Value:
int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); \
int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); \
for(i3=I3Base; i3<=I3Bound; i3++) \
for(i2=I2Base; i2<=I2Bound; i2++) \
for(i1=I1Base; i1<=I1Bound; i1++)
#define SHEAR (   y,
 
)    ((u1+u2)*.5+(u1-u2)*.5*tanh(beta*((y)-y0)))*STIME(t)
#define SHEAR_T (   y,
 
)    ((u1+u2)*.5+(u1-u2)*.5*tanh(beta*((y)-y0)))*STIME_T(t)
#define STIME (   t)
Value:
( 1.+ amp*( .5*sin(2.*Pi*f0*(t))+(1./3.)*sin(3.*Pi*f0*(t))+.25*sin(4.*Pi*f0*(t))+\
.2*sin(5.*Pi*f0*(t))) )
#define STIME_T (   t)    ( amp*Pi*f0*( cos(2.*Pi*f0*(t))+cos(3.*Pi*f0*(t))+cos(4.*Pi*f0*(t))+cos(5.*Pi*f0*(t))) )
#define X0 (   i0,
  i1,
  i2 
)    (xa+dx0*(i0-i0a))
#define X0 (   i0,
  i1,
  i2 
)    (xa+dx0*(i0-i0a))
#define X1 (   i0,
  i1,
  i2 
)    (ya+dy0*(i1-i1a))
#define X1 (   i0,
  i1,
  i2 
)    (ya+dy0*(i1-i1a))
#define X2 (   i0,
  i1,
  i2 
)    (za+dz0*(i2-i2a))
#define X2 (   i0,
  i1,
  i2 
)    (za+dz0*(i2-i2a))

Enumeration Type Documentation