Overture  Version 25
Macros | Functions
mappedGridExample6.C File Reference
#include "Overture.h"
#include "PlotStuff.h"
#include "SquareMapping.h"
#include "AnnulusMapping.h"
#include "MappedGridOperators.h"
#include "NameList.h"
Include dependency graph for mappedGridExample6.C:

Macros

#define UTRUE(x, y, t)   (x)*(1.-(x))*(y)*(1.-(y))*(1.+(t))
 
#define UTRUEX(x, y, t)   (1.-2.*(x))*(y)*(1.-(y))*(1.+(t))
 
#define UTRUEY(x, y, t)   (x)*(1.-(x))*(1.-2.*(y))*(1.+(t))
 
#define UTRUET(x, y, t)   (x)*(1.-(x))*(y)*(1.-(y))
 
#define UTRUEXX(x, y, t)   -2.*(y)*(1.-(y))*(1.+(t))
 
#define UTRUEYY(x, y, t)   -2.*(x)*(1.-(x))*(1.+(t))
 
#define FORCE(x, y, t)
 

Functions

real getDt (const real &cfl, const real &a, const real &b, const real &nu, MappedGrid &mg, MappedGridOperators &op, const real alpha0=-2., const real beta0=1.)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

#define FORCE (   x,
  y,
 
)
Value:
UTRUET(x,y,t)+a*UTRUEX(x,y,t)+b*UTRUEY(x,y,t) \
-nu*(UTRUEXX(x,y,t)+UTRUEYY(x,y,t))

Referenced by main().

#define UTRUE (   x,
  y,
 
)    (x)*(1.-(x))*(y)*(1.-(y))*(1.+(t))

Referenced by main().

#define UTRUET (   x,
  y,
 
)    (x)*(1.-(x))*(y)*(1.-(y))
#define UTRUEX (   x,
  y,
 
)    (1.-2.*(x))*(y)*(1.-(y))*(1.+(t))
#define UTRUEXX (   x,
  y,
 
)    -2.*(y)*(1.-(y))*(1.+(t))
#define UTRUEY (   x,
  y,
 
)    (x)*(1.-(x))*(1.-2.*(y))*(1.+(t))
#define UTRUEYY (   x,
  y,
 
)    -2.*(x)*(1.-(x))*(1.+(t))

Function Documentation

real getDt ( const real cfl,
const real a,
const real b,
const real nu,
MappedGrid mg,
MappedGridOperators op,
const real  alpha0 = -2.,
const real  beta0 = 1. 
)
int main ( int  argc,
char *  argv[] 
)