escript  Revision_
TransportProblemException.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2018 by The University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Apache License, version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16 
17 
18 #if !defined escript_TransportProblemException_20040608_H
19 #define escript_TransportProblemException_20040608_H
20 
21 #include "system_dep.h"
22 #include "EsysException.h"
23 
24 namespace escript
25 {
26 
27 class TransportProblemException : public EsysException
28 {
29 public:
30  TransportProblemException(const std::string& str) : EsysException(str) {}
31 };
32 
33 } // end of namespace
34 
35 #endif
paso::EPSILON
static const real_t EPSILON
Definition: ReactiveSolver.cpp:52
paso::LARGE_POSITIVE_FLOAT
static const real_t LARGE_POSITIVE_FLOAT
Definition: FCT_Solver.cpp:43
paso::TransportProblem::lumped_mass_matrix
double * lumped_mass_matrix
Definition: Transport.h:115
escript::DataTypes::real_t
double real_t
type of all real-valued scalars in escript
Definition: DataTypes.h:73
paso::Divergence
Definition: Paso.h:72
paso::TransportProblem::reactive_matrix
double * reactive_matrix
Definition: Transport.h:116
paso::MemoryError
Definition: Paso.h:69
ReactiveSolver.h
PASO_CRANK_NICOLSON
#define PASO_CRANK_NICOLSON
Definition: Options.h:69
paso::TransportProblem::mass_matrix
SystemMatrix_ptr mass_matrix
Definition: Transport.h:101
escript::DataTypes::real_t_max
real_t real_t_max()
Returns the maximum finite value for the real_t type.
Definition: DataTypes.h:111
paso::InputError
Definition: Paso.h:68
paso::TransportProblem::constraint_mask
double * constraint_mask
Definition: Transport.h:109
MPI_INT
#define MPI_INT
Definition: EsysMPI.h:44
MPI_MAX
#define MPI_MAX
Definition: EsysMPI.h:52
paso::NegativeNormError
Definition: Paso.h:71
escript::TransportProblemException::TransportProblemException
TransportProblemException(const std::string &str)
Definition: TransportProblemException.h:53
system_dep.h
Solver.h
paso::util::copy
void copy(dim_t N, double *out, const double *in)
out = in
Definition: PasoUtil.h:110
paso::Breakdown
Definition: Paso.h:70
paso::TransportProblem::dt_max_R
double dt_max_R
safe time step size for reactive part
Definition: Transport.h:106
escript::DataTypes::dim_t
index_t dim_t
Definition: DataTypes.h:87
paso::TransportProblem::transport_matrix
SystemMatrix_ptr transport_matrix
Definition: Transport.h:100
PASO_LINEAR_CRANK_NICOLSON
#define PASO_LINEAR_CRANK_NICOLSON
Definition: Options.h:68
paso::FCT_Solver::getSafeTimeStepSize
static double getSafeTimeStepSize(const_TransportProblem_ptr tp)
Definition: FCT_Solver.cpp:545
paso::SolverResult
SolverResult
Definition: Paso.h:53
paso::MaxIterReached
Definition: Paso.h:67
paso::TransportProblem::solve
void solve(double *u, double dt, double *u0, double *q, Options *options)
Definition: Transport_solve.cpp:61
paso::TransportProblem::getBlockSize
dim_t getBlockSize() const
Definition: Transport.h:58
FCT_Solver.h
escript::EsysException::EsysException
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:60
Transport.h
paso::TransportProblem::getSafeTimeStepSize
virtual double getSafeTimeStepSize() const
Definition: Transport_solve.cpp:204
paso::PasoException
PasoException exception class.
Definition: PasoException.h:43
escript::DataTypes::index_t
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:82
EsysException.h
paso::TransportProblem::valid_matrices
bool valid_matrices
Definition: Transport.h:104
escript
Definition: AbstractContinuousDomain.cpp:22
PasoUtil.h
paso::TransportProblem::mpi_info
escript::JMPI mpi_info
Definition: Transport.h:119
paso::ReactiveSolver::getSafeTimeStepSize
static double getSafeTimeStepSize(const_TransportProblem_ptr tp)
Definition: ReactiveSolver.cpp:104
escript::DataTypes::real_t_eps
real_t real_t_eps()
Returns the machine epsilon for the real_t type.
Definition: DataTypes.h:120
paso::TransportProblem::main_diagonal_mass_matrix
double * main_diagonal_mass_matrix
Definition: Transport.h:117
paso::TransportProblem::dt_max_T
double dt_max_T
safe time step size for transport part
Definition: Transport.h:108
PASO_BACKWARD_EULER
#define PASO_BACKWARD_EULER
Definition: Options.h:70
paso
Definition: BiCGStab.cpp:25
paso::NoError
Definition: Paso.h:66