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
testScheduling.h
Go to the documentation of this file.
1
/**********************************************************************
2
** This program is part of 'MOOSE', the
3
** Messaging Object Oriented Simulation Environment.
4
** Copyright (C) 2003-2009 Upinder S. Bhalla. and NCBS
5
** It is made available under the terms of the
6
** GNU Lesser General Public License version 2.1
7
** See the file COPYING.LIB for the full notice.
8
**********************************************************************/
9
10
class
TestSched
11
{
12
public
:
16
TestSched
()
17
:
index_
( 0 )
18
{
19
if
(
isInitPending_
) {
20
globalIndex_
= 0;
21
isInitPending_
= 0;
22
}
23
}
24
~TestSched
()
25
{
26
isInitPending_
= 1;
27
}
28
29
void
process
(
const
Eref
& e,
ProcPtr
p );
30
31
void
zeroIndex
() {
32
index_
= 0 ;
33
}
34
35
static
const
Cinfo
*
initCinfo
();
36
private
:
37
int
index_
;
38
static
int
globalIndex_
;
39
static
bool
isInitPending_
;
40
};
41
TestSched
Definition:
testScheduling.h:10
TestSched::index_
int index_
Definition:
testScheduling.h:37
TestSched::TestSched
TestSched()
Definition:
testScheduling.h:16
ProcInfo
Definition:
ProcInfo.h:12
TestSched::process
void process(const Eref &e, ProcPtr p)
Definition:
testScheduling.cpp:54
Eref
Definition:
Eref.h:26
TestSched::isInitPending_
static bool isInitPending_
Definition:
testScheduling.h:39
TestSched::zeroIndex
void zeroIndex()
Definition:
testScheduling.h:31
TestSched::initCinfo
static const Cinfo * initCinfo()
Definition:
testScheduling.cpp:33
TestSched::globalIndex_
static int globalIndex_
Definition:
testScheduling.h:38
Cinfo
Definition:
Cinfo.h:18
TestSched::~TestSched
~TestSched()
Definition:
testScheduling.h:24
moose-core
scheduling
testScheduling.h
Generated on Tue Sep 4 2018 09:05:33 for MOOSE - Multiscale Object Oriented Simulation Environment by
1.8.6