コード例 #1
0
AdvDiffConvectiveOperatorManager::AdvDiffConvectiveOperatorManager() : d_operator_maker_map()
{
    registerOperatorFactoryFunction(DEFAULT, AdvDiffPPMConvectiveOperator::allocate_operator);
    registerOperatorFactoryFunction(CENTERED, AdvDiffCenteredConvectiveOperator::allocate_operator);
    registerOperatorFactoryFunction(PPM, AdvDiffPPMConvectiveOperator::allocate_operator);
    return;
} // AdvDiffConvectiveOperatorManager
コード例 #2
0
INSStaggeredConvectiveOperatorManager::INSStaggeredConvectiveOperatorManager()
    : d_operator_maker_map()
{
    registerOperatorFactoryFunction(DEFAULT,
                                    INSStaggeredPPMConvectiveOperator::allocate_operator);
    registerOperatorFactoryFunction(CENTERED,
                                    INSStaggeredCenteredConvectiveOperator::allocate_operator);
    registerOperatorFactoryFunction(PPM, INSStaggeredPPMConvectiveOperator::allocate_operator);
    registerOperatorFactoryFunction(UPWIND,
                                    INSStaggeredUpwindConvectiveOperator::allocate_operator);
    registerOperatorFactoryFunction(
        STABILIZED_PPM, INSStaggeredStabilizedPPMConvectiveOperator::allocate_operator);
    return;
} // INSStaggeredConvectiveOperatorManager