|
CG
Version 25
|
#include "Cgcns.h"#include "CnsParameters.h"#include "App.h"#include "FlowSolutions.h"#include "ParallelUtility.h"#include "ParallelGridUtility.h"#include "SurfaceEquation.h"
Macros | |
| #define | ForBoundary(side, axis) for( int axis=0; axis<mg.numberOfDimensions(); axis++ ) for( int side=0; side<=1; side++ ) |
| #define | cnsSlipWallBC EXTERN_C_NAME(cnsslipwallbc) |
| #define | cnsSlipWallBC2 EXTERN_C_NAME(cnsslipwallbc2) |
| #define | cnsFarFieldBC EXTERN_C_NAME(cnsfarfieldbc) |
| #define | cnsNoSlipWallBC EXTERN_C_NAME(cnsnoslipwallbc) |
| #define | cnsNoSlipBC EXTERN_C_NAME(cnsnoslipbc) |
| #define | INOUTFLOWEXP EXTERN_C_NAME(inoutflowexp) |
| #define | ogfTaylor EXTERN_C_NAME(ogftaylor) |
| #define | mixedRHS(component, side, axis, grid) bcData(component+numberOfComponents*(0),side,axis,grid) |
| #define | mixedCoeff(component, side, axis, grid) bcData(component+numberOfComponents*(1),side,axis,grid) |
| #define | mixedNormalCoeff(component, side, axis, grid) bcData(component+numberOfComponents*(2),side,axis,grid) |
Functions | |
| void | cnsSlipWallBC (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const int &ipar, const real &rpar, real &u, const real &u2, const real &gv, const real &gv2, const real >t, const int &mask, const real &x, const real &rsxy, const int &bc, const int &indexRange, const int &exact, const real &uKnown, const DataBase *pdb, const int &ierr) |
| void | cnsSlipWallBC2 (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const int &ipar, const real &rpar, real &u, const real &u2, const real &gv, const real &gv2, const real >t, const int &mask, const real &x, const real &rsxy, const int &bc, const int &indexRange, const int &interfaceType, const int &exact, const real &uKnown, const DataBase *pdb, const int &ierr) |
| void | cnsFarFieldBC (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const int &ipar, const real &rpar, real &u, const real &u2, const real &gv, const real &gv2, const real >t, const int &mask, const real &x, const real &rsxy, const int &bc, const int &indexRange, const int &exact, const real &uKnown, const int &ierr) |
| void | cnsNoSlipWallBC (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const real *u, const real *x, const real *aj, const real *rsxy, const int *ipar, const real *rpar, const int *indexRange, const int *bc) |
| void | cnsNoSlipBC (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const int &ipar, const real &rpar, real &u, const real &gv, const real >t, const int &mask, const real &x, const real &rsxy, const int &bc, const int &indexRange, const int &exact, const real &uKnown, const int &ierr) |
| void | INOUTFLOWEXP (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const real *ul, const real *x, const real *aj, const real *rsxy, const int *ipar, const real *rpar, const int *indexRange, const int *bc, const real *bd, const int *bt, int &nbd) |
| void | ogfTaylor (OGFunction *&ep, const real &x, const real &y, const real &z, const real &t, const int &nd, real *ud) |
| int | checkSolution (realMappedGridFunction &u, const aString &title, bool printResults, int grid, real &maxVal, bool printResultsOnFailure=false) |
| void | checkNormalBC (int grid, MappedGrid &mg, realMappedGridFunction &u, Parameters ¶meters) |
| #define cnsFarFieldBC EXTERN_C_NAME(cnsfarfieldbc) |
Referenced by Cgcns::applyBoundaryConditions().
| #define cnsNoSlipBC EXTERN_C_NAME(cnsnoslipbc) |
Referenced by Cgcns::applyBoundaryConditions().
| #define cnsNoSlipWallBC EXTERN_C_NAME(cnsnoslipwallbc) |
Referenced by Cgcns::applyBoundaryConditions().
| #define cnsSlipWallBC EXTERN_C_NAME(cnsslipwallbc) |
Referenced by Cgcns::applyBoundaryConditions().
| #define cnsSlipWallBC2 EXTERN_C_NAME(cnsslipwallbc2) |
Referenced by Cgcns::applyBoundaryConditions().
| #define ForBoundary | ( | side, | |
| axis | |||
| ) | for( int axis=0; axis<mg.numberOfDimensions(); axis++ ) for( int side=0; side<=1; side++ ) |
Referenced by Cgcns::applyBoundaryConditions().
| #define INOUTFLOWEXP EXTERN_C_NAME(inoutflowexp) |
Referenced by Cgcns::applyBoundaryConditions().
| #define mixedCoeff | ( | component, | |
| side, | |||
| axis, | |||
| grid | |||
| ) | bcData(component+numberOfComponents*(1),side,axis,grid) |
Referenced by Cgcns::applyBoundaryConditions().
| #define mixedNormalCoeff | ( | component, | |
| side, | |||
| axis, | |||
| grid | |||
| ) | bcData(component+numberOfComponents*(2),side,axis,grid) |
Referenced by Cgcns::applyBoundaryConditions().
| #define mixedRHS | ( | component, | |
| side, | |||
| axis, | |||
| grid | |||
| ) | bcData(component+numberOfComponents*(0),side,axis,grid) |
Referenced by Cgcns::applyBoundaryConditions().
| #define ogfTaylor EXTERN_C_NAME(ogftaylor) |
| void checkNormalBC | ( | int | grid, |
| MappedGrid & | mg, | ||
| realMappedGridFunction & | u, | ||
| Parameters & | parameters | ||
| ) |
References axis, Parameters::dbase, e, normal, rx, side, Parameters::slipWall, and u.
| int checkSolution | ( | realMappedGridFunction & | u, |
| const aString & | title, | ||
| bool | printResults, | ||
| int | grid, | ||
| real & | maxVal, | ||
| bool | printResultsOnFailure = false |
||
| ) |
| void cnsFarFieldBC | ( | const int & | nd, |
| const int & | nd1a, | ||
| const int & | nd1b, | ||
| const int & | nd2a, | ||
| const int & | nd2b, | ||
| const int & | nd3a, | ||
| const int & | nd3b, | ||
| const int & | nd4a, | ||
| const int & | nd4b, | ||
| const int & | ipar, | ||
| const real & | rpar, | ||
| real & | u, | ||
| const real & | u2, | ||
| const real & | gv, | ||
| const real & | gv2, | ||
| const real & | gtt, | ||
| const int & | mask, | ||
| const real & | x, | ||
| const real & | rsxy, | ||
| const int & | bc, | ||
| const int & | indexRange, | ||
| const int & | exact, | ||
| const real & | uKnown, | ||
| const int & | ierr | ||
| ) |
| void cnsNoSlipBC | ( | const int & | nd, |
| const int & | nd1a, | ||
| const int & | nd1b, | ||
| const int & | nd2a, | ||
| const int & | nd2b, | ||
| const int & | nd3a, | ||
| const int & | nd3b, | ||
| const int & | nd4a, | ||
| const int & | nd4b, | ||
| const int & | ipar, | ||
| const real & | rpar, | ||
| real & | u, | ||
| const real & | gv, | ||
| const real & | gtt, | ||
| const int & | mask, | ||
| const real & | x, | ||
| const real & | rsxy, | ||
| const int & | bc, | ||
| const int & | indexRange, | ||
| const int & | exact, | ||
| const real & | uKnown, | ||
| const int & | ierr | ||
| ) |
| void cnsNoSlipWallBC | ( | const int & | nd, |
| const int & | nd1a, | ||
| const int & | nd1b, | ||
| const int & | nd2a, | ||
| const int & | nd2b, | ||
| const int & | nd3a, | ||
| const int & | nd3b, | ||
| const int & | nd4a, | ||
| const int & | nd4b, | ||
| const real * | u, | ||
| const real * | x, | ||
| const real * | aj, | ||
| const real * | rsxy, | ||
| const int * | ipar, | ||
| const real * | rpar, | ||
| const int * | indexRange, | ||
| const int * | bc | ||
| ) |
| void cnsSlipWallBC | ( | const int & | nd, |
| const int & | nd1a, | ||
| const int & | nd1b, | ||
| const int & | nd2a, | ||
| const int & | nd2b, | ||
| const int & | nd3a, | ||
| const int & | nd3b, | ||
| const int & | nd4a, | ||
| const int & | nd4b, | ||
| const int & | ipar, | ||
| const real & | rpar, | ||
| real & | u, | ||
| const real & | u2, | ||
| const real & | gv, | ||
| const real & | gv2, | ||
| const real & | gtt, | ||
| const int & | mask, | ||
| const real & | x, | ||
| const real & | rsxy, | ||
| const int & | bc, | ||
| const int & | indexRange, | ||
| const int & | exact, | ||
| const real & | uKnown, | ||
| const DataBase * | pdb, | ||
| const int & | ierr | ||
| ) |
| void cnsSlipWallBC2 | ( | const int & | nd, |
| const int & | nd1a, | ||
| const int & | nd1b, | ||
| const int & | nd2a, | ||
| const int & | nd2b, | ||
| const int & | nd3a, | ||
| const int & | nd3b, | ||
| const int & | nd4a, | ||
| const int & | nd4b, | ||
| const int & | ipar, | ||
| const real & | rpar, | ||
| real & | u, | ||
| const real & | u2, | ||
| const real & | gv, | ||
| const real & | gv2, | ||
| const real & | gtt, | ||
| const int & | mask, | ||
| const real & | x, | ||
| const real & | rsxy, | ||
| const int & | bc, | ||
| const int & | indexRange, | ||
| const int & | interfaceType, | ||
| const int & | exact, | ||
| const real & | uKnown, | ||
| const DataBase * | pdb, | ||
| const int & | ierr | ||
| ) |
| void INOUTFLOWEXP | ( | const int & | nd, |
| const int & | nd1a, | ||
| const int & | nd1b, | ||
| const int & | nd2a, | ||
| const int & | nd2b, | ||
| const int & | nd3a, | ||
| const int & | nd3b, | ||
| const int & | nd4a, | ||
| const int & | nd4b, | ||
| const real * | ul, | ||
| const real * | x, | ||
| const real * | aj, | ||
| const real * | rsxy, | ||
| const int * | ipar, | ||
| const real * | rpar, | ||
| const int * | indexRange, | ||
| const int * | bc, | ||
| const real * | bd, | ||
| const int * | bt, | ||
| int & | nbd | ||
| ) |
1.8.3