Go to the documentation of this file.
18 #if !defined escript_TransportProblemException_20040608_H
19 #define escript_TransportProblemException_20040608_H
27 class TransportProblemException :
public EsysException
static const real_t EPSILON
Definition: ReactiveSolver.cpp:52
static const real_t LARGE_POSITIVE_FLOAT
Definition: FCT_Solver.cpp:43
double * lumped_mass_matrix
Definition: Transport.h:115
double real_t
type of all real-valued scalars in escript
Definition: DataTypes.h:73
double * reactive_matrix
Definition: Transport.h:116
#define PASO_CRANK_NICOLSON
Definition: Options.h:69
SystemMatrix_ptr mass_matrix
Definition: Transport.h:101
real_t real_t_max()
Returns the maximum finite value for the real_t type.
Definition: DataTypes.h:111
double * constraint_mask
Definition: Transport.h:109
#define MPI_INT
Definition: EsysMPI.h:44
#define MPI_MAX
Definition: EsysMPI.h:52
TransportProblemException(const std::string &str)
Definition: TransportProblemException.h:53
void copy(dim_t N, double *out, const double *in)
out = in
Definition: PasoUtil.h:110
double dt_max_R
safe time step size for reactive part
Definition: Transport.h:106
index_t dim_t
Definition: DataTypes.h:87
SystemMatrix_ptr transport_matrix
Definition: Transport.h:100
#define PASO_LINEAR_CRANK_NICOLSON
Definition: Options.h:68
static double getSafeTimeStepSize(const_TransportProblem_ptr tp)
Definition: FCT_Solver.cpp:545
SolverResult
Definition: Paso.h:53
void solve(double *u, double dt, double *u0, double *q, Options *options)
Definition: Transport_solve.cpp:61
dim_t getBlockSize() const
Definition: Transport.h:58
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:60
virtual double getSafeTimeStepSize() const
Definition: Transport_solve.cpp:204
PasoException exception class.
Definition: PasoException.h:43
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:82
bool valid_matrices
Definition: Transport.h:104
Definition: AbstractContinuousDomain.cpp:22
escript::JMPI mpi_info
Definition: Transport.h:119
static double getSafeTimeStepSize(const_TransportProblem_ptr tp)
Definition: ReactiveSolver.cpp:104
real_t real_t_eps()
Returns the machine epsilon for the real_t type.
Definition: DataTypes.h:120
double * main_diagonal_mass_matrix
Definition: Transport.h:117
double dt_max_T
safe time step size for transport part
Definition: Transport.h:108
#define PASO_BACKWARD_EULER
Definition: Options.h:70
Definition: BiCGStab.cpp:25