TransportProblemException.h
Go to the documentation of this file.
/*****************************************************************************
*
* Copyright (c) 2003-2020 by The University of Queensland
* http://www.uq.edu.au
*
* Primary Business: Queensland, Australia
* Licensed under the Apache License, version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Development until 2012 by Earth Systems Science Computational Center (ESSCC)
* Development 2012-2013 by School of Earth Sciences
* Development from 2014-2017 by Centre for Geoscience Computing (GeoComp)
* Development from 2019 by School of Earth and Environmental Sciences
**
*****************************************************************************/
#if !defined escript_TransportProblemException_20040608_H
#define escript_TransportProblemException_20040608_H
#include "system_dep.h"
#include "EsysException.h"
namespace escript
{
class TransportProblemException : public EsysException
{
public:
TransportProblemException(const std::string& str) : EsysException(str) {}
};
} // end of namespace
#endif
paso::EPSILON
static const real_t EPSILON
Definition: ReactiveSolver.cpp:55
paso::LARGE_POSITIVE_FLOAT
static const real_t LARGE_POSITIVE_FLOAT
Definition: FCT_Solver.cpp:44
paso::TransportProblem::lumped_mass_matrix
double * lumped_mass_matrix
Definition: Transport.h:117
escript::DataTypes::real_t
double real_t
type of all real-valued scalars in escript
Definition: DataTypes.h:79
paso::Divergence
@ Divergence
Definition: Paso.h:78
paso::TransportProblem::reactive_matrix
double * reactive_matrix
Definition: Transport.h:118
paso::MemoryError
@ MemoryError
Definition: Paso.h:75
ReactiveSolver.h
PASO_CRANK_NICOLSON
#define PASO_CRANK_NICOLSON
Definition: Options.h:71
paso::TransportProblem::mass_matrix
SystemMatrix_ptr mass_matrix
Definition: Transport.h:103
escript::DataTypes::real_t_max
real_t real_t_max()
Returns the maximum finite value for the real_t type.
Definition: DataTypes.h:117
paso::InputError
@ InputError
Definition: Paso.h:74
paso::TransportProblem::constraint_mask
double * constraint_mask
Definition: Transport.h:111
MPI_INT
#define MPI_INT
Definition: EsysMPI.h:46
MPI_MAX
#define MPI_MAX
Definition: EsysMPI.h:54
paso::NegativeNormError
@ NegativeNormError
Definition: Paso.h:77
escript::TransportProblemException::TransportProblemException
TransportProblemException(const std::string &str)
Definition: TransportProblemException.h:59
system_dep.h
Solver.h
paso::util::copy
void copy(dim_t N, double *out, const double *in)
out = in
Definition: PasoUtil.h:116
paso::Breakdown
@ Breakdown
Definition: Paso.h:76
paso::TransportProblem::dt_max_R
double dt_max_R
safe time step size for reactive part
Definition: Transport.h:108
escript::DataTypes::dim_t
index_t dim_t
Definition: DataTypes.h:93
paso::TransportProblem::transport_matrix
SystemMatrix_ptr transport_matrix
Definition: Transport.h:102
PASO_LINEAR_CRANK_NICOLSON
#define PASO_LINEAR_CRANK_NICOLSON
Definition: Options.h:70
paso::FCT_Solver::getSafeTimeStepSize
static double getSafeTimeStepSize(const_TransportProblem_ptr tp)
Definition: FCT_Solver.cpp:546
paso::SolverResult
SolverResult
Definition: Paso.h:57
paso::MaxIterReached
@ MaxIterReached
Definition: Paso.h:73
paso::TransportProblem::solve
void solve(double *u, double dt, double *u0, double *q, Options *options)
Definition: Transport_solve.cpp:65
paso::TransportProblem::getBlockSize
dim_t getBlockSize() const
Definition: Transport.h:60
FCT_Solver.h
escript::EsysException::EsysException
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:66
Transport.h
paso::TransportProblem::getSafeTimeStepSize
virtual double getSafeTimeStepSize() const
Definition: Transport_solve.cpp:208
paso::PasoException
PasoException exception class.
Definition: PasoException.h:47
escript::DataTypes::index_t
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:88
EsysException.h
paso::TransportProblem::valid_matrices
bool valid_matrices
Definition: Transport.h:106
escript
Definition: AbstractContinuousDomain.cpp:23
PasoUtil.h
paso::TransportProblem::mpi_info
escript::JMPI mpi_info
Definition: Transport.h:121
paso::ReactiveSolver::getSafeTimeStepSize
static double getSafeTimeStepSize(const_TransportProblem_ptr tp)
Definition: ReactiveSolver.cpp:107
escript::DataTypes::real_t_eps
real_t real_t_eps()
Returns the machine epsilon for the real_t type.
Definition: DataTypes.h:126
paso::TransportProblem::main_diagonal_mass_matrix
double * main_diagonal_mass_matrix
Definition: Transport.h:119
paso::TransportProblem::dt_max_T
double dt_max_T
safe time step size for transport part
Definition: Transport.h:110
PASO_BACKWARD_EULER
#define PASO_BACKWARD_EULER
Definition: Options.h:72
paso
Definition: BiCGStab.cpp:26
paso::NoError
@ NoError
Definition: Paso.h:72