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

Last change on this file since 359 was 359, checked in by garnier, 11 years ago

Changement de la couleur des sections selectionnes + plein dautres choses

File size: 948 bytes
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 void FileInput(ifstream& ifs);
45   
46    /** return a string with all parameters and value
47     */
48    string print();
49   
50};
51#endif
Note: See TracBrowser for help on using the repository browser.