CG
Version 25
|
#include "DomainSolver.h"
#include "CompositeGridOperators.h"
#include "GridCollectionOperators.h"
#include "interpPoints.h"
#include "SparseRep.h"
#include "ExposedPoints.h"
#include "InterpolateRefinements.h"
#include "Regrid.h"
#include "Ogen.h"
#include "App.h"
#include "ParallelUtility.h"
#include "Oges.h"
#include "OgesParameters.h"
#include "AdamsPCData.h"
#include "gridFunctionNorms.h"
#include "updateOpt.h"
#include "AdvanceOptions.h"
#include "Ogshow.h"
#include "RigidBodyMotion.h"
#include "Integrate.h"
Macros | |
#define | FOR_3D(i1, i2, i3, I1, I2, I3) 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 | FOR_3(i1, i2, i3, I1, I2, I3) 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 | ForBoundary(side, axis) for( axis=0; axis<mg.numberOfDimensions(); axis++ ) for( side=0; side<=1; side++ ) |
Functions | |
int | rigidBodyBoundaryProjection (GridFunction &cgf, const real dt0, const int correction, Parameters ¶meters) |
Apply projection boundary conditions for rigid bodies. | |
int | maskDecode (int m) |
#define FOR_3D | ( | i1, | |
i2, | |||
i3, | |||
I1, | |||
I2, | |||
I3 | |||
) | 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++) |
Referenced by DeformingBodyMotion::advanceElasticShell(), Cgins::advanceLineSolveNew(), Cgins::advanceLineSolveOld(), Cgsm::assignAnnulusEigenfunction(), Maxwell::assignBoundaryConditions(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgsm::assignGaussianPulseInitialConditions(), Cgsm::assignHempInitialConditions(), Maxwell::assignInitialConditions(), Cgsm::assignParabolicInitialConditions(), Cgsm::assignSpecialInitialConditions(), Cgsm::assignTwilightZoneInitialConditions(), Cgsm::checkDisplacementAndStress(), checkGridFunction(), DomainSolver::checkSolution(), DomainSolver::computeBodyForcing(), Maxwell::computeIntensity(), Maxwell::computeTimeStep(), Cgins::computeTurbulenceQuantities(), Maxwell::defineRegionsAndBodies(), Parameters::defineVariableBoundaryValues(), Cgasf::formAllSpeedPressureEquation(), Maxwell::getChargeDensity(), FlowSolutions::getDeformingDiffuser(), Cgsm::getErrors(), Maxwell::getErrors(), FlowSolutions::getFlowSolution(), Cgsm::getForcing(), Maxwell::getForcing(), DomainSolver::getGridInfo(), Cgmp::getInterfaceResiduals(), DomainSolver::getMaterialProperties(), Cgsm::getMaxDivAndCurl(), Maxwell::getMaxDivergence(), FlowSolutions::getObliqueShockFlow(), FlowSolutions::getPistonFlow(), FlowSolutions::getShockElasticPistonFlow(), FlowSolutions::getSupersonicExpandingFlow(), Cgsm::getTimeStep(), Parameters::getUserDefinedKnownSolution(), Cgsm::getVelocityAndStress(), InsParameters::getViscoPlasticVariables(), if(), initialConditionsFromAProfile(), InterfaceTransfer::initialize(), Maxwell::initializeKnownSolution(), DeformingBodyMotion::integrate(), Cgmp::interfaceProjection(), main(), DomainSolver::outputProbes(), DomainSolver::parabolicInflow(), rigidBodyBoundaryProjection(), MovingGrids::rigidBodyMotion(), DomainSolver::setVariableBoundaryValues(), DomainSolver::setVariableMaterialProperties(), Cgsm::userDefinedBoundaryValues(), DomainSolver::userDefinedBoundaryValues(), DeformingBodyMotion::userDefinedDeformingSurface(), userDefinedErrorEstimator(), Maxwell::userDefinedForcing(), Cgsm::userDefinedForcing(), DomainSolver::userDefinedForcing(), and Maxwell::userDefinedInitialConditions().
#define ForBoundary | ( | side, | |
axis | |||
) | for( axis=0; axis<mg.numberOfDimensions(); axis++ ) for( side=0; side<=1; side++ ) |
Referenced by MovingGrids::getGridVelocity(), and if().
int maskDecode | ( | int | m | ) |
Referenced by DomainSolver::takeTimeStepFE().
int rigidBodyBoundaryProjection | ( | GridFunction & | cgf, |
const real | dt0, | ||
const int | correction, | ||
Parameters & | parameters | ||
) |
Apply projection boundary conditions for rigid bodies.
correction | (input) : correction step number. |
References assert(), axis, bb, cc, GridFunction::cg, cg, GridFunction::conservativeVariables, Parameters::dbase, e, FOR_3D, GridFunction::form, MovingGrids::getIntegrate(), MovingGrids::getNumberOfRigidBodies(), RigidBodyMotion::getPointTransformationMatrix(), RigidBodyMotion::getPosition(), MovingGrids::getRigidBody(), RigidBodyMotion::getVelocity(), grid, i1, i2, i3, includeGhost, is2, is3, maskLocal, mg, normal, ok, printF(), R, side, GridFunction::t, tc, GridFunction::u, uc, uLocal, vc, and wc.
Referenced by DomainSolver::takeTimeStepFE().