#include "SystemMatrix.h"
#include "Options.h"
#include "performance.h"
#include "Paso.h"
Go to the source code of this file.
Functions |
PASO_DLL_API
Paso_TransportProblem * | Paso_TransportProblem_getReference (Paso_TransportProblem *in) |
PASO_DLL_API
Paso_TransportProblem * | Paso_TransportProblem_alloc (Paso_SystemMatrixPattern *pattern, int block_size) |
PASO_DLL_API dim_t | Paso_TransportProblem_getBlockSize (const Paso_TransportProblem *in) |
PASO_DLL_API double | Paso_TransportProblem_getSafeTimeStepSize (Paso_TransportProblem *in) |
PASO_DLL_API Paso_SystemMatrix * | Paso_TransportProblem_borrowTransportMatrix (Paso_TransportProblem *in) |
PASO_DLL_API Paso_SystemMatrix * | Paso_TransportProblem_borrowMassMatrix (Paso_TransportProblem *in) |
PASO_DLL_API void | Paso_TransportProblem_solve (Paso_TransportProblem *fctp, double *u, double dt, double *u0, double *q, Paso_Options *options) |
PASO_DLL_API double * | Paso_TransportProblem_borrowLumpedMassMatrix (Paso_TransportProblem *in) |
PASO_DLL_API dim_t | Paso_TransportProblem_getTotalNumRows (Paso_TransportProblem *in) |
PASO_DLL_API void | Paso_TransportProblem_free (Paso_TransportProblem *in) |
PASO_DLL_API void | Paso_TransportProblem_reset (Paso_TransportProblem *in) |
PASO_DLL_API Paso_Connector * | Paso_TransportProblem_borrowConnector (const Paso_TransportProblem *in) |
PASO_DLL_API index_t | Paso_TransportProblem_getTypeId (const index_t solver, const index_t preconditioner, const index_t package, const bool_t symmetry, Esys_MPIInfo *mpi_info) |
PASO_DLL_API void | Paso_TransportProblem_insertConstraint (Paso_TransportProblem *fctp, const double *r, double *source) |
PASO_DLL_API void | Paso_TransportProblem_setUpConstraint (Paso_TransportProblem *fctp, const double *q) |
Macro Definition Documentation
#define DT_FACTOR_MAX 100000. |
#define Paso_TransportProblem_borrowConnector |
( |
|
__in__ | ) |
(__in__)->transport_matrix->pattern->col_connector |
#define Paso_TransportProblem_borrowLumpedMassMatrix |
( |
|
__in__ | ) |
(__in__)->lumped_mass_matrix |
#define Paso_TransportProblem_borrowMassMatrix |
( |
|
__in__ | ) |
(__in__)->mass_matrix |
#define Paso_TransportProblem_borrowTransportMatrix |
( |
|
__in__ | ) |
(__in__)->transport_matrix |
#define Paso_TransportProblem_getBlockSize |
( |
|
__in__ | ) |
(__in__)->transport_matrix->row_block_size |
Typedef Documentation
Function Documentation
References Paso_TransportProblem::constraint_mask, Paso_TransportProblem::dt_max_R, Paso_TransportProblem::dt_max_T, Esys_checkPtr(), Esys_MPIInfo_getReference(), Esys_noError(), FALSE, Paso_TransportProblem::iteration_matrix, LARGE_POSITIVE_FLOAT, Paso_TransportProblem::lumped_mass_matrix, Paso_TransportProblem::main_diagonal_low_order_transport_matrix, Paso_TransportProblem::main_diagonal_mass_matrix, Paso_TransportProblem::mass_matrix, MATRIX_FORMAT_BLK1, MATRIX_FORMAT_DEFAULT, MEMALLOC, Paso_SystemMatrixPattern::mpi_info, Paso_TransportProblem::mpi_info, Paso_SystemMatrix_alloc(), Paso_SystemMatrix_getTotalNumRows(), Paso_TransportProblem_free(), Paso_TransportProblem::reactive_matrix, Paso_TransportProblem::reference_counter, Paso_TransportProblem::transport_matrix, and Paso_TransportProblem::valid_matrices.
Referenced by ripley::RipleyDomain::newTransportProblem(), dudley::MeshAdapter::newTransportProblem(), and finley::MeshAdapter::newTransportProblem().
References Paso_TransportProblem::constraint_mask, Esys_MPIInfo_free(), Paso_TransportProblem::iteration_matrix, Paso_TransportProblem::lumped_mass_matrix, Paso_TransportProblem::main_diagonal_low_order_transport_matrix, Paso_TransportProblem::main_diagonal_mass_matrix, Paso_TransportProblem::mass_matrix, MEMFREE, Paso_TransportProblem::mpi_info, Paso_SystemMatrix_free(), Paso_TransportProblem::reactive_matrix, Paso_TransportProblem::reference_counter, and Paso_TransportProblem::transport_matrix.
Referenced by Paso_FCT_Solver_free(), Paso_TransportProblem_alloc(), and paso::TransportProblemAdapter::~TransportProblemAdapter().
References Esys_MPIInfo::comm, Paso_TransportProblem::constraint_mask, Paso_TransportProblem::dt_max_R, Paso_TransportProblem::dt_max_T, Esys_noError(), Esys_setError(), LARGE_POSITIVE_FLOAT, Paso_TransportProblem::lumped_mass_matrix, Paso_TransportProblem::main_diagonal_mass_matrix, Paso_TransportProblem::mass_matrix, MAX, MIN, Paso_TransportProblem::mpi_info, MPI_INT, Paso_FCT_Solver_getSafeTimeStepSize(), Paso_ReactiveSolver_getSafeTimeStepSize(), Paso_SystemMatrix_copyFromMainDiagonal(), Paso_SystemMatrix_getTotalNumRows(), Paso_SystemMatrix_makeZeroRowSums(), Paso_SystemMatrix_rowSum(), Paso_TransportProblem::reactive_matrix, Paso_TransportProblem::transport_matrix, TRUE, Paso_TransportProblem::valid_matrices, and VALUE_ERROR.
Referenced by paso::TransportProblemAdapter::getSafeTimeStepSize(), and Paso_TransportProblem_solve().
References Paso_TransportProblem::dt_max_R, Paso_TransportProblem::dt_max_T, EPSILON, Esys_checkPtr(), Esys_noError(), Esys_setError(), FALSE, LARGE_POSITIVE_FLOAT, MEMORY_ERROR, MIN, Paso_Options::num_iter, Paso_Options::ode_solver, PASO_BACKWARD_EULER, Paso_Copy(), PASO_CRANK_NICOLSON, Paso_FCT_Solver_alloc(), Paso_FCT_Solver_free(), Paso_FCT_Solver_initialize(), Paso_FCT_Solver_update(), PASO_LINEAR_CRANK_NICOLSON, Paso_ReactiveSolver_alloc(), Paso_ReactiveSolver_free(), Paso_ReactiveSolver_initialize(), Paso_ReactiveSolver_solve(), Paso_SystemMatrix_getTotalNumRows(), Paso_TransportProblem_getBlockSize(), Paso_TransportProblem_getSafeTimeStepSize(), SOLVER_BREAKDOWN, SOLVER_DIVERGENCE, SOLVER_INPUT_ERROR, SOLVER_MAXITER_REACHED, SOLVER_MEMORY_ERROR, SOLVER_NEGATIVE_NORM_ERROR, SOLVER_NO_ERROR, SYSTEM_ERROR, Paso_Options::time_step_backtracking_used, TMPMEMALLOC, TMPMEMFREE, Paso_TransportProblem::transport_matrix, TRUE, VALUE_ERROR, and Paso_Options::verbose.
Referenced by paso::TransportProblemAdapter::setToSolution().