Last change
on this file since 118 was
84,
checked in by lemeur, 12 years ago
|
execution complete de transport
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifndef BENDDEFINITION_SEEN |
---|
2 | #define BENDDEFINITION_SEEN |
---|
3 | |
---|
4 | #include <iostream> |
---|
5 | #include <string> |
---|
6 | #include "abstractElement.h" |
---|
7 | #include "mathematicalTools.h" |
---|
8 | //#include "PhysicalConstants.h" |
---|
9 | |
---|
10 | |
---|
11 | using namespace std; |
---|
12 | |
---|
13 | // aimant dipolaire, DANS LE PLAN XZ (le champ est dans la direction Y) |
---|
14 | |
---|
15 | |
---|
16 | class elementBend : public abstractElement |
---|
17 | { |
---|
18 | |
---|
19 | double angleDeg_; // deg. |
---|
20 | double radius_; // m |
---|
21 | double beta1_; // deg. |
---|
22 | double beta2_; // deg. |
---|
23 | |
---|
24 | double angleDegDef_; // deg. |
---|
25 | double radiusDef_; // m |
---|
26 | double beta1Def_; // deg. |
---|
27 | double beta2Def_; // deg. |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | void setDefaultValues(); |
---|
32 | void setDefaults(); |
---|
33 | |
---|
34 | |
---|
35 | public: |
---|
36 | |
---|
37 | elementBend(); |
---|
38 | |
---|
39 | ~elementBend() {;} |
---|
40 | |
---|
41 | double getLenghtOfElement() const; |
---|
42 | |
---|
43 | |
---|
44 | virtual void setParametersString(string* param); |
---|
45 | |
---|
46 | virtual string* getParametersString() const; |
---|
47 | |
---|
48 | virtual string parmelaOutputFlow() const |
---|
49 | { |
---|
50 | ostringstream sortie; |
---|
51 | cout << " BEND sortie parmela non progerammee " << endl; |
---|
52 | return sortie.str(); |
---|
53 | } |
---|
54 | |
---|
55 | virtual string transportOutputFlow() const; |
---|
56 | |
---|
57 | virtual string FileOutputFlow() const; |
---|
58 | |
---|
59 | virtual void FileInput(ifstream& ifs); |
---|
60 | |
---|
61 | }; |
---|
62 | |
---|
63 | |
---|
64 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.