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:54
static const real_t LARGE_POSITIVE_FLOAT
Definition: FCT_Solver.cpp:44
double * lumped_mass_matrix
Definition: Transport.h:116
double real_t
type of all real-valued scalars in escript
Definition: DataTypes.h:76
double * reactive_matrix
Definition: Transport.h:117
#define PASO_CRANK_NICOLSON
Definition: Options.h:70
SystemMatrix_ptr mass_matrix
Definition: Transport.h:102
real_t real_t_max()
Returns the maximum finite value for the real_t type.
Definition: DataTypes.h:114
double * constraint_mask
Definition: Transport.h:110
#define MPI_INT
Definition: EsysMPI.h:45
#define MPI_MAX
Definition: EsysMPI.h:53
TransportProblemException(const std::string &str)
Definition: TransportProblemException.h:56
void copy(dim_t N, double *out, const double *in)
out = in
Definition: PasoUtil.h:113
double dt_max_R
safe time step size for reactive part
Definition: Transport.h:107
index_t dim_t
Definition: DataTypes.h:90
SystemMatrix_ptr transport_matrix
Definition: Transport.h:101
#define PASO_LINEAR_CRANK_NICOLSON
Definition: Options.h:69
static double getSafeTimeStepSize(const_TransportProblem_ptr tp)
Definition: FCT_Solver.cpp:546
SolverResult
Definition: Paso.h:55
void solve(double *u, double dt, double *u0, double *q, Options *options)
Definition: Transport_solve.cpp:63
dim_t getBlockSize() const
Definition: Transport.h:59
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:63
virtual double getSafeTimeStepSize() const
Definition: Transport_solve.cpp:206
PasoException exception class.
Definition: PasoException.h:45
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:85
bool valid_matrices
Definition: Transport.h:105
Definition: AbstractContinuousDomain.cpp:23
escript::JMPI mpi_info
Definition: Transport.h:120
static double getSafeTimeStepSize(const_TransportProblem_ptr tp)
Definition: ReactiveSolver.cpp:106
real_t real_t_eps()
Returns the machine epsilon for the real_t type.
Definition: DataTypes.h:123
double * main_diagonal_mass_matrix
Definition: Transport.h:118
double dt_max_T
safe time step size for transport part
Definition: Transport.h:109
#define PASO_BACKWARD_EULER
Definition: Options.h:71
Definition: BiCGStab.cpp:26