source: PSPA/Interface_Web/trunk/pspaWT/sources/controler/include/elementSoleno.h @ 418

Last change on this file since 418 was 418, checked in by lemeur, 11 years ago

definition des compatibilites des elements dans les software

File size: 1.0 KB
Line 
1#ifndef SOLEDEFINITION_SEEN
2#define SOLEDEFINITION_SEEN
3
4#include <iostream>
5#include <string>
6#include "abstractElement.h"
7
8//#include "mathematicalTools.h"
9//#include "PhysicalConstants.h"
10
11using namespace std;
12class elementSoleno : public abstractElement
13{
14   
15    double B0_;   // en kilogauss
16    double B0Def_;   // en kilogauss
17   
18    bool varyB0_;
19    bool varyB0Def_;
20   
21   
22   
23    void setDefaultValues();
24    void setDefaults();
25   
26   
27   
28    public :
29   
30    elementSoleno();
31   
32    ~elementSoleno() {;}
33   
34    virtual void setParametersString(string* param);
35   
36    virtual string* getParametersString() const;
37   
38    //    virtual  string parmelaOutputFlow() const;
39   
40    //   virtual string transportOutputFlow() const;
41   
42    virtual  string FileOutputFlow() const;
43   
44  virtual vector< pair<string, vector<string> > > parametersToSoftware () const;
45
46    virtual void FileInput(ifstream& ifs);
47   
48    /** return a string with all parameters and value
49     */
50    string print();
51   
52};
53#endif
Note: See TracBrowser for help on using the repository browser.