MOOSE - Multiscale Object Oriented Simulation Environment
|
#include "header.h"
#include "SparseMatrix.h"
#include <sys/time.h>
#include <math.h>
#include <queue>
#include <unistd.h>
#include "../scheduling/Clock.h"
#include "../msg/DiagonalMsg.h"
#include "../msg/SparseMsg.h"
#include "../mpi/PostMaster.h"
#include "../shell/Shell.h"
Go to the source code of this file.
Functions | |
void | checkChildren (Id parent, const string &info) |
unsigned int | getNumCores () |
Id | init (int argc, char **argv, bool &doUnitTests, bool &doRegressionTests, unsigned int &benchmark) |
int | main (int argc, char **argv) |
void | mooseBenchmarks (unsigned int option) |
void | mpiTests () |
void | nonMpiTests (Shell *s) |
void | processTests (Shell *s) |
void | speedTestMultiNodeIntFireNetwork (unsigned int size, unsigned int runsteps) |
Variables | |
bool | quitFlag = 0 |
void checkChildren | ( | Id | parent, |
const string & | info | ||
) |
Definition at line 136 of file main.cpp.
References Neutral::children(), Id::element(), Id::eref(), and Element::getName().
unsigned int getNumCores | ( | ) |
Id init | ( | int | argc, |
char ** | argv, | ||
bool & | doUnitTests, | ||
bool & | doRegressionTests, | ||
unsigned int & | benchmark | ||
) |
Here we allow the user to override the automatic identification of processor configuration
Sets up the Elements that represent each class of Msg.
Definition at line 150 of file main.cpp.
Referenced by benchmarkMsg(), Ksolve::initCinfo(), Gsolve::initCinfo(), moose::CompartmentBase::initCinfo(), NonlinearSystem::initialize(), main(), SteadyState::settle(), testAssortedMsg(), testCopyMsgOps(), testShellAddMsg(), and testSparseMatrix2().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 360 of file main.cpp.
References Id::clearAllElements(), Msg::clearAllMsgs(), PostMaster::clearPending(), ObjId::data(), Element::data(), Shell::doQuit(), doRegressionTests, Shell::doSetClock(), doUnitTests, Shell::doUseClock(), Id::element(), init(), Shell::keepLooping(), Shell::launchParser(), mooseBenchmarks(), mpiTests(), Shell::myNode(), nonMpiTests(), Shell::numNodes(), processTests(), and quitFlag.
void mooseBenchmarks | ( | unsigned int | option | ) |
void mpiTests | ( | ) |
void nonMpiTests | ( | Shell * | s | ) |
These tests are meant to run on individual nodes, and should not invoke MPI calls. They should not be run when MPI is running. These tests do not use the threaded/MPI event loop and are the most basic of the set.
Definition at line 297 of file main.cpp.
Referenced by main().
void processTests | ( | Shell * | s | ) |
void speedTestMultiNodeIntFireNetwork | ( | unsigned int | size, |
unsigned int | runsteps | ||
) |