CG
Version 25
|
#include "DomainSolver.h"
#include "ShowFileReader.h"
#include "display.h"
#include "App.h"
#include "ParallelUtility.h"
#include "Ogen.h"
#include "gridFunctionNorms.h"
#include "DialogState.h"
#include "interpPoints.h"
#include "InterpolatePoints.h"
#include "EquationDomain.h"
#include "InterpolatePointsOnAGrid.h"
Macros | |
#define | ForAllComponents(n) for( n=0; n<numberOfComponents; n++ ) |
#define | ForAllGrids(grid) for( grid=0; grid<numberOfComponentGrids; grid++ ) |
#define | U(i0, i1, i2, i3) up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))] |
#define | VERTEX0(i1, i2, i3) (xa+dx0*(i1-i1a)) |
#define | VERTEX1(i1, i2, i3) (ya+dy0*(i2-i2a)) |
#define | VERTEX2(i1, i2, i3) (za+dz0*(i3-i3a)) |
#define | FOR_3(i1, i2, i3, I1, I2, I3) for( i3=I3.getBase(); i3<=I3.getBound(); i3++ ) for( i2=I2.getBase(); i2<=I2.getBound(); i2++ ) for( i1=I1.getBase(); i1<=I1.getBound(); i1++ ) |
#define | XSTEP(i1, i2, i3) (stepNormalx*VERTEX0(i1,i2,i3)+stepNormaly*VERTEX1(i1,i2,i3)+stepNormalz*VERTEX2(i1,i2,i3)-stepNormalEquationValue) |
Functions | |
int | updateEquationDomainsForAMR (CompositeGrid &cg, Parameters ¶meters) |
int | newAdaptiveGridBuilt (CompositeGrid &cg, realCompositeGridFunction &u, Parameters ¶meters, bool updateSolution) |
bool | isDifferent (const CompositeGrid &cg1, const CompositeGrid &cg2) |
Try to determine if two CompositeGrid's are the same. | |
#define FOR_3 | ( | i1, | |
i2, | |||
i3, | |||
I1, | |||
I2, | |||
I3 | |||
) | for( i3=I3.getBase(); i3<=I3.getBound(); i3++ ) for( i2=I2.getBase(); i2<=I2.getBound(); i2++ ) for( i1=I1.getBase(); i1<=I1.getBound(); i1++ ) |
Referenced by DomainSolver::assignInitialConditions(), and DomainSolver::getInitialConditions().
Referenced by Cgasf::addForcing(), Cgins::advanceLineSolveNew(), Cgins::advanceLineSolveOld(), PenaltySlipWallBC::applyBC(), PenaltyWallFunctionBC::applyBC(), Cgsm::assignAnnulusEigenfunction(), Maxwell::assignBoundaryConditions(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgsm::assignGaussianPulseInitialConditions(), Cgsm::assignHempInitialConditions(), DomainSolver::assignInitialConditions(), Cgsm::assignParabolicInitialConditions(), Cgsm::assignSpecialInitialConditions(), Cgsm::assignTwilightZoneInitialConditions(), Cgsm::checkDisplacementAndStress(), Maxwell::getChargeDensity(), Cgsm::getErrors(), Maxwell::getErrors(), Cgsm::getForcing(), Maxwell::getForcing(), Cgsm::getMaxDivAndCurl(), Maxwell::getMaxDivergence(), Cgasf::getUt(), Cgsm::getVelocityAndStress(), and if().
#define XSTEP | ( | i1, | |
i2, | |||
i3 | |||
) | (stepNormalx*VERTEX0(i1,i2,i3)+stepNormaly*VERTEX1(i1,i2,i3)+stepNormalz*VERTEX2(i1,i2,i3)-stepNormalEquationValue) |
Referenced by DomainSolver::assignInitialConditions().
bool isDifferent | ( | const CompositeGrid & | cg1, |
const CompositeGrid & | cg2 | ||
) |
Try to determine if two CompositeGrid's are the same.
References dimension, and grid.
Referenced by DomainSolver::getInitialConditions().
int newAdaptiveGridBuilt | ( | CompositeGrid & | cg, |
realCompositeGridFunction & | u, | ||
Parameters & | parameters, | ||
bool | updateSolution | ||
) |
int updateEquationDomainsForAMR | ( | CompositeGrid & | cg, |
Parameters & | parameters | ||
) |
References Parameters::dbase, equationDomainList, grid, ListOfEquationDomains::gridDomainNumberList, and EquationDomain::gridList.
Referenced by DomainSolver::adaptGrids(), and DomainSolver::getInitialConditions().