MOOSE - Multiscale Object Oriented Simulation Environment
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Interpol.h
Go to the documentation of this file.
1
// Interpol.h ---
2
//
3
// Filename: Interpol.h
4
// Description:
5
// Author: Subhasis Ray
6
// Maintainer:
7
// Created: Wed Jun 25 15:13:52 2014 (+0530)
8
// Version:
9
// Last-Updated:
10
// By:
11
// Update #: 0
12
// URL:
13
// Keywords:
14
// Compatibility:
15
//
16
//
17
18
// Commentary:
19
//
20
//
21
//
22
//
23
24
// Change log:
25
//
26
//
27
//
28
//
29
// This program is free software; you can redistribute it and/or
30
// modify it under the terms of the GNU General Public License as
31
// published by the Free Software Foundation; either version 3, or
32
// (at your option) any later version.
33
//
34
// This program is distributed in the hope that it will be useful,
35
// but WITHOUT ANY WARRANTY; without even the implied warranty of
36
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
37
// General Public License for more details.
38
//
39
// You should have received a copy of the GNU General Public License
40
// along with this program; see the file COPYING. If not, write to
41
// the Free Software Foundation, Inc., 51 Franklin Street, Fifth
42
// Floor, Boston, MA 02110-1301, USA.
43
//
44
//
45
46
// Code:
47
48
#ifndef _INTERPOL_H
49
#define _INTERPOL_H
50
56
class
Interpol
:
public
TableBase
57
{
58
public
:
59
Interpol
();
60
Interpol
(
double
xmin,
double
xmax);
61
63
// Here are the interface functions for the MOOSE class
65
void
setXmin
(
double
value
);
66
double
getXmin
()
const
;
67
void
setXmax
(
double
value );
68
double
getXmax
()
const
;
69
double
getY
()
const
;
71
// Here are the Interpol Destination functions
73
void
handleInput
(
double
x);
74
void
process
(
const
Eref
& e,
ProcPtr
p );
75
void
reinit
(
const
Eref
& e,
ProcPtr
p );
76
77
78
static
const
Cinfo
*
initCinfo
();
79
static
const
unsigned
int
MAX_DIVS
;
80
protected
:
81
double
x_
;
82
double
xmin_
;
83
double
xmax_
;
84
double
y_
;
85
};
86
87
88
#endif // _INTERPOL_H
89
90
91
//
92
// Interpol.h ends here
value
uint32_t value
Definition:
moosemodule.h:42
Interpol::setXmin
void setXmin(double value)
Definition:
Interpol.cpp:157
Interpol::xmin_
double xmin_
Definition:
Interpol.h:82
TableBase
Definition:
TableBase.h:19
Interpol::handleInput
void handleInput(double x)
Definition:
Interpol.cpp:209
Interpol::process
void process(const Eref &e, ProcPtr p)
Definition:
Interpol.cpp:194
ProcInfo
Definition:
ProcInfo.h:12
Interpol::reinit
void reinit(const Eref &e, ProcPtr p)
Definition:
Interpol.cpp:200
Interpol::xmax_
double xmax_
Definition:
Interpol.h:83
Interpol::Interpol
Interpol()
Definition:
Interpol.cpp:148
Interpol::MAX_DIVS
static const unsigned int MAX_DIVS
Definition:
Interpol.h:79
Eref
Definition:
Eref.h:26
Interpol
Definition:
Interpol.h:56
Interpol::initCinfo
static const Cinfo * initCinfo()
Definition:
Interpol.cpp:61
Interpol::setXmax
void setXmax(double value)
Definition:
Interpol.cpp:171
Interpol::x_
double x_
Definition:
Interpol.h:81
Interpol::getXmin
double getXmin() const
Definition:
Interpol.cpp:166
Interpol::y_
double y_
Definition:
Interpol.h:84
Interpol::getY
double getY() const
Definition:
Interpol.cpp:185
Cinfo
Definition:
Cinfo.h:18
Interpol::getXmax
double getXmax() const
Definition:
Interpol.cpp:180
moose-core
builtins
Interpol.h
Generated on Tue Sep 4 2018 09:05:32 for MOOSE - Multiscale Object Oriented Simulation Environment by
1.8.6