CG
Version 25
|
#include "InsParameters.h"
#include "TridiagonalSolver.h"
#include "insFactors.h"
#include "CompositeGrid.h"
#include "GridFunction.h"
#include "ParallelUtility.h"
#include "ParallelGridUtility.h"
#include "PlotIt.h"
#include "AdamsPCData.h"
#include "kkcdefs.h"
Macros | |
#define | ins_rfactor EXTERN_C_NAME(ins_rfactor) |
#define | ins_rrfactor EXTERN_C_NAME(ins_rrfactor) |
#define | ins_diagfactor EXTERN_C_NAME(ins_diagfactor) |
#define | ins_mfactor EXTERN_C_NAME(ins_mfactor) |
#define | ins_mfactor_opt EXTERN_C_NAME(ins_mfactor_opt) |
#define | ins_fscoeff EXTERN_C_NAME(ins_fscoeff) |
#define | ins_evalux EXTERN_C_NAME(ins_evalux) |
#define | DEFINE_AF_FACTOR_SUBROUTINE(NAME) |
#define | SETUP_PARAMETER_ARRAYS |
#define | CALL_INS_FACTOR_ROUTINE(NAME) |
#define | PRINT_MATRIX_ARRAYS(NAME) |
#define | IS_DIRICHLET(SIDE, AXIS) ( bcLocal(SIDE,AXIS)==Parameters::dirichletBoundaryCondition || bcLocal(SIDE,AXIS)==Parameters::noSlipWall || bcLocal(SIDE,AXIS)==InsParameters::inflowWithVelocityGiven || bcLocal(SIDE,AXIS)==InsParameters::outflow) |
#define | GET_BOUNDS_INFO(ARRAY, LOCAL_ARRAY, EXTRA_FACTOR) |
#define | ZERO_GHOST(LOCAL_ARRAY) |
#define | REBUILD_AND_REFACTOR(CC) (((CC)==uc) || (tc>wc && CC>=tc)) |
#define | USE_MFACTOR_OPT |
#define | ug_starLocal ugLocal |
#define | ug_starLocal ugLocal |
#define | ug_starLocal ugLocal |
#define | ug_starLocal fgLocal |
#define | ug_starLocal ugLocal |
#define | ug_starLocal uxy |
#define | ugLocal uxy |
Functions | |
DEFINE_AF_FACTOR_SUBROUTINE (ins_rfactor) | |
DEFINE_AF_FACTOR_SUBROUTINE (ins_rrfactor) | |
DEFINE_AF_FACTOR_SUBROUTINE (ins_diagfactor) | |
DEFINE_AF_FACTOR_SUBROUTINE (ins_mfactor) | |
DEFINE_AF_FACTOR_SUBROUTINE (ins_mfactor_opt) | |
DEFINE_AF_FACTOR_SUBROUTINE (ins_fscoeff) | |
DEFINE_AF_FACTOR_SUBROUTINE (ins_evalux) | |
typedef | DEFINE_AF_FACTOR_SUBROUTINE ((*INSFactorSubroutine)) |
getGhostIndex (gidLocal, side, axis, Ig1, Ig2, Ig3, gl) | |
LOCAL_ARRAY (Ig1, Ig2, Ig3)=0.0 | |
Variables | |
Index | Ig1 |
Index | Ig2 |
Index | Ig3 |
#define CALL_INS_FACTOR_ROUTINE | ( | NAME | ) |
Referenced by CGINS_ApproximateFactorization::INS_Factor::addExplicitContribution(), CGINS_ApproximateFactorization::INS_Factor::solveLeftHandSide(), and CGINS_ApproximateFactorization::INS_Factor::solveRightHandSide().
#define DEFINE_AF_FACTOR_SUBROUTINE | ( | NAME | ) |
#define GET_BOUNDS_INFO | ( | ARRAY, | |
LOCAL_ARRAY, | |||
EXTRA_FACTOR | |||
) |
#define ins_diagfactor EXTERN_C_NAME(ins_diagfactor) |
#define ins_evalux EXTERN_C_NAME(ins_evalux) |
#define ins_fscoeff EXTERN_C_NAME(ins_fscoeff) |
#define ins_mfactor EXTERN_C_NAME(ins_mfactor) |
#define ins_mfactor_opt EXTERN_C_NAME(ins_mfactor_opt) |
#define ins_rfactor EXTERN_C_NAME(ins_rfactor) |
#define ins_rrfactor EXTERN_C_NAME(ins_rrfactor) |
#define IS_DIRICHLET | ( | SIDE, | |
AXIS | |||
) | ( bcLocal(SIDE,AXIS)==Parameters::dirichletBoundaryCondition || bcLocal(SIDE,AXIS)==Parameters::noSlipWall || bcLocal(SIDE,AXIS)==InsParameters::inflowWithVelocityGiven || bcLocal(SIDE,AXIS)==InsParameters::outflow) |
#define PRINT_MATRIX_ARRAYS | ( | NAME | ) |
Referenced by CGINS_ApproximateFactorization::INS_Factor::addExplicitContribution().
#define SETUP_PARAMETER_ARRAYS |
#define ug_starLocal ugLocal |
#define ug_starLocal ugLocal |
#define ug_starLocal ugLocal |
#define ug_starLocal fgLocal |
#define ug_starLocal ugLocal |
#define ug_starLocal uxy |
#define ugLocal uxy |
Referenced by CGINS_ApproximateFactorization::INS_Factor::addExplicitContribution(), Maxwell::advanceFDTD(), Maxwell::assignBoundaryConditions(), Maxwell::assignInitialConditions(), Maxwell::getErrors(), Maxwell::getValuesFDTD(), CGINS_ApproximateFactorization::INS_Factor::solveLeftHandSide(), and CGINS_ApproximateFactorization::INS_Factor::solveRightHandSide().
#define USE_MFACTOR_OPT |
#define ZERO_GHOST | ( | LOCAL_ARRAY | ) |
DEFINE_AF_FACTOR_SUBROUTINE | ( | ins_rfactor | ) |
DEFINE_AF_FACTOR_SUBROUTINE | ( | ins_rrfactor | ) |
DEFINE_AF_FACTOR_SUBROUTINE | ( | ins_diagfactor | ) |
DEFINE_AF_FACTOR_SUBROUTINE | ( | ins_mfactor | ) |
DEFINE_AF_FACTOR_SUBROUTINE | ( | ins_mfactor_opt | ) |
DEFINE_AF_FACTOR_SUBROUTINE | ( | ins_fscoeff | ) |
DEFINE_AF_FACTOR_SUBROUTINE | ( | ins_evalux | ) |
typedef DEFINE_AF_FACTOR_SUBROUTINE | ( | * | INSFactorSubroutine | ) |
Referenced by CGINS_ApproximateFactorization::INS_Factor::addExplicitContribution(), Cgins::addForcingToPressureEquation(), Cgasf::addForcingToPressureEquation(), Cgins::advanceLineSolveNew(), Cgins::advanceLineSolveOld(), Cgins::applyBoundaryConditions(), Cgcns::applyBoundaryConditionsForImplicitTimeStepping(), Cgad::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyBoundaryConditionsForImplicitTimeStepping(), Maxwell::assignBoundaryConditions(), Cgmp::assignInterfaceBoundaryConditions(), Maxwell::assignInterfaceBoundaryConditions(), Cgins::assignLineSolverBoundaryConditions(), Cgins::assignPressureRHS(), detectCollisions(), Cgcns::formImplicitTimeSteppingMatrix(), Maxwell::getErrors(), DomainSolver::getTimeDependentBoundaryConditions(), Cgcns::getUt(), Cgasf::gridAccelerationBC(), Cgins::gridAccelerationBC(), DomainSolver::jetInflow(), Cgins::lineSolverBoundaryConditions(), DomainSolver::parabolicInflow(), ProjectVelocity::projectVelocity(), Cgasf::solveForAllSpeedPressure(), Cgasf::solveForTimeIndependentVariables(), DomainSolver::takeTimeStepAF(), and DomainSolver::userDefinedBoundaryValues().
Index Ig1 |
Referenced by CGINS_ApproximateFactorization::INS_Factor::addExplicitContribution(), Cgins::addForcing(), Cgins::advanceLineSolveNew(), Cgins::advanceLineSolveOld(), Cgcns::applyBoundaryConditions(), Cgins::applyBoundaryConditions(), Cgad::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyBoundaryConditionsForImplicitTimeStepping(), Maxwell::assignBoundaryConditions(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgins::assignLineSolverBoundaryConditions(), Maxwell::getErrors(), DomainSolver::getTimeDependentBoundaryConditions(), if(), DomainSolver::jetInflow(), Cgins::lineSolverBoundaryConditions(), DomainSolver::parabolicInflow(), CGINS_ApproximateFactorization::INS_Factor::solveLeftHandSide(), CGINS_ApproximateFactorization::INS_Factor::solveRightHandSide(), DomainSolver::takeTimeStepAF(), and DomainSolver::userDefinedBoundaryValues().
Index Ig2 |
Referenced by CGINS_ApproximateFactorization::INS_Factor::addExplicitContribution(), Cgins::addForcing(), Cgins::advanceLineSolveNew(), Cgins::advanceLineSolveOld(), Cgcns::applyBoundaryConditions(), Cgins::applyBoundaryConditions(), Cgad::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyBoundaryConditionsForImplicitTimeStepping(), Maxwell::assignBoundaryConditions(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgins::assignLineSolverBoundaryConditions(), Maxwell::getErrors(), DomainSolver::getTimeDependentBoundaryConditions(), if(), DomainSolver::jetInflow(), Cgins::lineSolverBoundaryConditions(), DomainSolver::parabolicInflow(), CGINS_ApproximateFactorization::INS_Factor::solveLeftHandSide(), CGINS_ApproximateFactorization::INS_Factor::solveRightHandSide(), DomainSolver::takeTimeStepAF(), and DomainSolver::userDefinedBoundaryValues().
Index Ig3 |
Referenced by CGINS_ApproximateFactorization::INS_Factor::addExplicitContribution(), Cgins::addForcing(), Cgins::advanceLineSolveNew(), Cgins::advanceLineSolveOld(), Cgcns::applyBoundaryConditions(), Cgins::applyBoundaryConditions(), Cgad::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyBoundaryConditionsForImplicitTimeStepping(), Maxwell::assignBoundaryConditions(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgins::assignLineSolverBoundaryConditions(), Maxwell::getErrors(), DomainSolver::getTimeDependentBoundaryConditions(), if(), DomainSolver::jetInflow(), Cgins::lineSolverBoundaryConditions(), DomainSolver::parabolicInflow(), CGINS_ApproximateFactorization::INS_Factor::solveLeftHandSide(), CGINS_ApproximateFactorization::INS_Factor::solveRightHandSide(), DomainSolver::takeTimeStepAF(), and DomainSolver::userDefinedBoundaryValues().