SMILE  v2.5
Schwarzschild Modelling Interactive expLoratory Environment
Classes | Namespaces | Functions
core.h File Reference

Main business logic for both GUI and console versions, and the console scripting class. More...

#include "common.h"
#include "potential.h"
#include "orbitint.h"
#include "orbitlib.h"
#include "schwarzschild.h"
#include "icgenerator.h"
#include <fstream>
#include <QObject>
#include <QTime>
Include dependency graph for core.h:

Classes

class  smile::COrbitIntWorker
 Worker object that runs single orbit integration in a separate thread. More...
 
class  smile::COrbitLibWorker
 Worker object that runs orbit library integration (for use in multiple parallel threads). More...
 
class  smile::CSchwarzschildWorker
 Worker object that runs Schwarzschild model optimization solver. More...
 
class  smile::CNbodyExportStatWorker
 Worker object that calculates statistics after Nbody export (currently, computes virial ratio). More...
 
struct  smile::CConfigCore
 Common configuration parameters for various tasks in CSmileCore. More...
 
class  smile::CSmileCore
 Class that provides all core computational functionality. More...
 
class  smile::CSmileConsole
 The console version of application is implemented in this class. More...
 

Namespaces

 smile
 common namespace for all core SMILE classes, functions and variables
 

Functions

QString smile::getDirName (const QString &fileName)
 convenience function, return file path ending with "/"
 

Detailed Description

Main business logic for both GUI and console versions, and the console scripting class.

Author
EV
Date
2009-2014

This file defines smile::CSmileCore - the driver class for both console and GUI versions of SMILE, which handles configuration data in the ini file, starts and manages computation threads, saves/loads data. A number of helper thread classes for performing various tasks are also defined here. Finally, the smile::CSmileConsole class manages console scripting (interactive or from a file).