#include "Paso.h"
#include "SolverFCT.h"
#include "PasoUtil.h"
Functions | |
void | Paso_FCTransportProblem_setLowOrderOperator (Paso_FCTransportProblem *fc) |
void | Paso_SolverFCT_setMuPaLuPbQ (double *out, const double *M, const Paso_Coupler *u_coupler, const double a, const Paso_SystemMatrix *L, const double b, const double *Q) |
void | Paso_SolverFCT_setQs (const Paso_Coupler *u_coupler, double *QN, double *QP, const Paso_SystemMatrix *L) |
void | Paso_FCTransportProblem_setAntiDiffusionFlux (const double dt, const Paso_FCTransportProblem *fc, Paso_SystemMatrix *flux_matrix, const Paso_Coupler *u_coupler) |
void | Paso_FCTransportProblem_applyPreAntiDiffusionCorrection (Paso_SystemMatrix *f, const Paso_Coupler *u_coupler) |
void | Paso_FCTransportProblem_setRs (const Paso_SystemMatrix *f, const double *lumped_mass_matrix, const Paso_Coupler *QN_coupler, const Paso_Coupler *QP_coupler, double *RN, double *RP) |
void | Paso_FCTransportProblem_addCorrectedFluxes (double *f, const Paso_SystemMatrix *flux_matrix, const Paso_Coupler *RN_coupler, const Paso_Coupler *RP_coupler) |
void Paso_FCTransportProblem_addCorrectedFluxes | ( | double * | f, | |
const Paso_SystemMatrix * | flux_matrix, | |||
const Paso_Coupler * | RN_coupler, | |||
const Paso_Coupler * | RP_coupler | |||
) |
References Paso_SystemMatrix::col_coupleBlock, Paso_SystemMatrixPattern::col_couplePattern, Paso_Pattern::index, Paso_SystemMatrix::mainBlock, Paso_SystemMatrixPattern::mainPattern, MIN, Paso_Coupler_borrowLocalData, Paso_Coupler_borrowRemoteData, Paso_SystemMatrix_getTotalNumRows(), Paso_SystemMatrix::pattern, Paso_Pattern::ptr, and Paso_SparseMatrix::val.
Referenced by Paso_FCT_setUpRightHandSide().
void Paso_FCTransportProblem_applyPreAntiDiffusionCorrection | ( | Paso_SystemMatrix * | f, | |
const Paso_Coupler * | u_coupler | |||
) |
References Paso_SystemMatrix::col_coupleBlock, Paso_SystemMatrixPattern::col_couplePattern, Paso_Pattern::index, Paso_SystemMatrix::mainBlock, Paso_SystemMatrixPattern::mainPattern, Paso_Coupler_borrowLocalData, Paso_Coupler_borrowRemoteData, Paso_SystemMatrix_getTotalNumRows(), Paso_SystemMatrix::pattern, Paso_Pattern::ptr, and Paso_SparseMatrix::val.
Referenced by Paso_FCT_setUpRightHandSide().
void Paso_FCTransportProblem_setAntiDiffusionFlux | ( | const double | dt, | |
const Paso_FCTransportProblem * | fc, | |||
Paso_SystemMatrix * | flux_matrix, | |||
const Paso_Coupler * | u_coupler | |||
) |
References ABS, Paso_SystemMatrix::col_coupleBlock, Paso_SystemMatrixPattern::col_couplePattern, Paso_Pattern::index, Paso_FCTransportProblem::iteration_matrix, Paso_SystemMatrix::mainBlock, Paso_SystemMatrixPattern::mainPattern, Paso_FCTransportProblem::mass_matrix, Paso_Coupler_borrowLocalData, Paso_Coupler_borrowRemoteData, Paso_SystemMatrix_getTotalNumRows(), Paso_SystemMatrix::pattern, Paso_Pattern::ptr, Paso_FCTransportProblem::theta, Paso_FCTransportProblem::transport_matrix, Paso_FCTransportProblem::u_coupler, and Paso_SparseMatrix::val.
Referenced by Paso_FCT_setUpRightHandSide().
void Paso_FCTransportProblem_setLowOrderOperator | ( | Paso_FCTransportProblem * | fc | ) |
References Paso_SystemMatrix::col_block_size, Paso_SystemMatrix::col_coupleBlock, Paso_SystemMatrixPattern::col_couplePattern, Paso_Pattern::index, Paso_FCTransportProblem::iteration_matrix, Paso_FCTransportProblem::main_diagonal_low_order_transport_matrix, Paso_FCTransportProblem::main_iptr, Paso_SystemMatrix::mainBlock, Paso_SystemMatrixPattern::mainPattern, MIN3, Paso_noError(), Paso_SystemMatrix_alloc(), Paso_SystemMatrix_getTotalNumRows(), Paso_SystemMatrix::pattern, Paso_Pattern::ptr, Paso_SystemMatrix::row_block_size, Paso_SystemMatrix::row_coupleBlock, Paso_SystemMatrixPattern::row_couplePattern, Paso_FCTransportProblem::transport_matrix, TRUE, Paso_SystemMatrix::type, and Paso_SparseMatrix::val.
Referenced by Paso_FCTransportProblem_getSafeTimeStepSize().
void Paso_FCTransportProblem_setRs | ( | const Paso_SystemMatrix * | f, | |
const double * | lumped_mass_matrix, | |||
const Paso_Coupler * | QN_coupler, | |||
const Paso_Coupler * | QP_coupler, | |||
double * | RN, | |||
double * | RP | |||
) |
References Paso_SystemMatrix::col_coupleBlock, Paso_SystemMatrixPattern::col_couplePattern, Paso_Pattern::index, Paso_SystemMatrix::mainBlock, Paso_SystemMatrixPattern::mainPattern, MIN, Paso_Coupler_borrowLocalData, Paso_SystemMatrix_getTotalNumRows(), Paso_SystemMatrix::pattern, Paso_Pattern::ptr, and Paso_SparseMatrix::val.
Referenced by Paso_FCT_setUpRightHandSide().
void Paso_SolverFCT_setMuPaLuPbQ | ( | double * | out, | |
const double * | M, | |||
const Paso_Coupler * | u_coupler, | |||
const double | a, | |||
const Paso_SystemMatrix * | L, | |||
const double | b, | |||
const double * | Q | |||
) |
References ABS, Paso_SystemMatrix::col_coupleBlock, Paso_SystemMatrixPattern::col_couplePattern, Paso_Pattern::index, Paso_SystemMatrix::mainBlock, Paso_SystemMatrixPattern::mainPattern, Paso_Coupler_borrowLocalData, Paso_Coupler_borrowRemoteData, Paso_SystemMatrix_getTotalNumRows(), Paso_SystemMatrix::pattern, Paso_Pattern::ptr, and Paso_SparseMatrix::val.
Referenced by Paso_FCT_setUp(), and Paso_FCT_setUpRightHandSide().
void Paso_SolverFCT_setQs | ( | const Paso_Coupler * | u_coupler, | |
double * | QN, | |||
double * | QP, | |||
const Paso_SystemMatrix * | L | |||
) |
References Paso_SystemMatrixPattern::col_couplePattern, Paso_Pattern::index, Paso_SystemMatrixPattern::mainPattern, MAX, MIN, Paso_Coupler_borrowLocalData, Paso_Coupler_borrowRemoteData, Paso_SystemMatrix_getTotalNumRows(), Paso_SystemMatrix::pattern, and Paso_Pattern::ptr.
Referenced by Paso_FCT_setUp().