Skip to content

Commit

Permalink
Renaming Simulator class to SimulatorQSS
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9346 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
fbergero committed Jun 23, 2011
1 parent 89e66c6 commit ae88719
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion c_runtime/solver_qss/cross_detector.h
@@ -1,6 +1,6 @@
#include "runtime.h"

class CrossDetector: public Simulator
class CrossDetector: public SimulatorQSS
{

public:
Expand Down
4 changes: 2 additions & 2 deletions c_runtime/solver_qss/integrator.h
Expand Up @@ -3,7 +3,7 @@
#include "simulation_runtime.h"


class IntegratorQSS: public Simulator
class IntegratorQSS: public SimulatorQSS
{
public:
IntegratorQSS(double dqm, double dqr);
Expand All @@ -19,7 +19,7 @@ class IntegratorQSS: public Simulator
int order;
};

class IntegratorQSS2: public Simulator
class IntegratorQSS2: public SimulatorQSS
{
public:
IntegratorQSS2(double dqm, double dqr);
Expand Down
2 changes: 1 addition & 1 deletion c_runtime/solver_qss/sampler.h
Expand Up @@ -4,7 +4,7 @@

int functionDAE_output();

class Sampler: public Simulator
class Sampler: public SimulatorQSS
{
public:
Sampler(long numSteps,double start,double stop);
Expand Down
2 changes: 1 addition & 1 deletion c_runtime/solver_qss/simulator.h
Expand Up @@ -3,7 +3,7 @@

typedef double Time;
/*! \brief This class represents a DEVS atomic model. */
class Simulator
class SimulatorQSS
{
public:
Time e;
Expand Down
4 changes: 2 additions & 2 deletions c_runtime/solver_qss/solver_qss.cpp
Expand Up @@ -54,7 +54,7 @@ QssSignal *X; // States
QssSignal *q; // Quantized versions of states
QssSignal *alg; // Quantized versions of the algebraics
QssSignal *zc; // Quantized versions of the zero crossings
Simulator **childs;
SimulatorQSS **childs;

string *result_file_cstr;

Expand Down Expand Up @@ -213,7 +213,7 @@ int qss_main( int argc, char** argv,double &start, double &stop, double &step,

const unsigned int size=globalData->nStates + staticBlocks + zeroCrossings + 1 /*Sampler */;

childs = new Simulator *[size];
childs = new SimulatorQSS *[size];
tn = new double [size];
const double dQmin=tolerance/100,dQrel=tolerance;
// Create one integrator for each state
Expand Down
2 changes: 1 addition & 1 deletion c_runtime/solver_qss/static_function.h
Expand Up @@ -3,7 +3,7 @@
#include "runtime.h"
#include "simulation_runtime.h"

class StaticFunction: public Simulator
class StaticFunction: public SimulatorQSS
{
public:
StaticFunction(int ord, double dqm, double dqr, int devsIndex);
Expand Down

0 comments on commit ae88719

Please sign in to comment.