COPASI API
4.16.103
Main Page
Namespaces
Classes
Files
File List
File Members
copasi
odepack++
Cxerrwd.h
Go to the documentation of this file.
1
/* Begin CVS Header
2
$Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/odepack++/Cxerrwd.h,v $
3
$Revision: 1.5 $
4
$Name: $
5
$Author: shoops $
6
$Date: 2009/01/07 19:01:06 $
7
End CVS Header */
8
9
// Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
10
// Properties, Inc., EML Research, gGmbH, University of Heidelberg,
11
// and The University of Manchester.
12
// All rights reserved.
13
14
// Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
15
// Properties, Inc. and EML Research, gGmbH.
16
// All rights reserved.
17
//
18
// This C++ code is based on an f2c conversion of the Fortran
19
// library ODEPACK available at: http://www.netlib.org/odepack/
20
21
#ifndef ODEPACK_xerrwd
22
#define ODEPACK_xerrwd
23
24
#include <iostream>
25
#include <string>
26
27
class
Cxerrwd
28
{
29
public
:
30
Cxerrwd
(
const
bool
& print);
31
32
~Cxerrwd
();
33
34
void
operator()
(
const
std::string & msg,
const
C_INT
*nmes,
const
C_INT
*nerr,
const
C_INT
35
*level,
const
C_INT
*ni,
const
C_INT
*i1,
const
C_INT
*i2,
const
C_INT
*nr,
36
const
double
*r1,
const
double
*r2,
C_INT
msg_len);
37
38
void
setOstream
(std::ostream & os);
39
void
enablePrint
(
const
bool
& print =
true
);
40
41
private
:
42
bool
mPrint
;
43
std::ostream *
mpOstream
;
44
};
45
46
#endif // ODEPACK_xerrwd
C_INT
#define C_INT
Definition:
copasi.h:115
Cxerrwd::setOstream
void setOstream(std::ostream &os)
Definition:
Cxerrwd.cpp:32
Cxerrwd::mpOstream
std::ostream * mpOstream
Definition:
Cxerrwd.h:43
Cxerrwd::~Cxerrwd
~Cxerrwd()
Definition:
Cxerrwd.cpp:30
Cxerrwd
Definition:
Cxerrwd.h:27
Cxerrwd::enablePrint
void enablePrint(const bool &print=true)
Definition:
Cxerrwd.cpp:35
Cxerrwd::operator()
void operator()(const std::string &msg, const C_INT *nmes, const C_INT *nerr, const C_INT *level, const C_INT *ni, const C_INT *i1, const C_INT *i2, const C_INT *nr, const double *r1, const double *r2, C_INT msg_len)
Definition:
Cxerrwd.cpp:38
Cxerrwd::Cxerrwd
Cxerrwd(const bool &print)
Definition:
Cxerrwd.cpp:25
Cxerrwd::mPrint
bool mPrint
Definition:
Cxerrwd.h:42
Generated on Thu Jul 2 2015 14:50:41 for COPASI API by
1.8.6