Go to the documentation of this file.
19 #if !defined escript_TransportProblemException_20040608_H
20 #define escript_TransportProblemException_20040608_H
28 class TransportProblemException :
public EsysException
static const real_t EPSILON
Definition: ReactiveSolver.cpp:55
static const real_t LARGE_POSITIVE_FLOAT
Definition: FCT_Solver.cpp:44
double * lumped_mass_matrix
Definition: Transport.h:117
double real_t
type of all real-valued scalars in escript
Definition: DataTypes.h:79
@ Divergence
Definition: Paso.h:78
double * reactive_matrix
Definition: Transport.h:118
@ MemoryError
Definition: Paso.h:75
#define PASO_CRANK_NICOLSON
Definition: Options.h:71
SystemMatrix_ptr mass_matrix
Definition: Transport.h:103
real_t real_t_max()
Returns the maximum finite value for the real_t type.
Definition: DataTypes.h:117
@ InputError
Definition: Paso.h:74
double * constraint_mask
Definition: Transport.h:111
#define MPI_INT
Definition: EsysMPI.h:46
#define MPI_MAX
Definition: EsysMPI.h:54
@ NegativeNormError
Definition: Paso.h:77
TransportProblemException(const std::string &str)
Definition: TransportProblemException.h:59
void copy(dim_t N, double *out, const double *in)
out = in
Definition: PasoUtil.h:116
@ Breakdown
Definition: Paso.h:76
double dt_max_R
safe time step size for reactive part
Definition: Transport.h:108
index_t dim_t
Definition: DataTypes.h:93
SystemMatrix_ptr transport_matrix
Definition: Transport.h:102
#define PASO_LINEAR_CRANK_NICOLSON
Definition: Options.h:70
static double getSafeTimeStepSize(const_TransportProblem_ptr tp)
Definition: FCT_Solver.cpp:546
SolverResult
Definition: Paso.h:57
@ MaxIterReached
Definition: Paso.h:73
void solve(double *u, double dt, double *u0, double *q, Options *options)
Definition: Transport_solve.cpp:65
dim_t getBlockSize() const
Definition: Transport.h:60
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:66
virtual double getSafeTimeStepSize() const
Definition: Transport_solve.cpp:208
PasoException exception class.
Definition: PasoException.h:47
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:88
bool valid_matrices
Definition: Transport.h:106
Definition: AbstractContinuousDomain.cpp:23
escript::JMPI mpi_info
Definition: Transport.h:121
static double getSafeTimeStepSize(const_TransportProblem_ptr tp)
Definition: ReactiveSolver.cpp:107
real_t real_t_eps()
Returns the machine epsilon for the real_t type.
Definition: DataTypes.h:126
double * main_diagonal_mass_matrix
Definition: Transport.h:119
double dt_max_T
safe time step size for transport part
Definition: Transport.h:110
#define PASO_BACKWARD_EULER
Definition: Options.h:72
Definition: BiCGStab.cpp:26
@ NoError
Definition: Paso.h:72