Last change
on this file since 424 was
424,
checked in by touze, 11 years ago
|
sauvgarde de la configuration sur fichier format AML
|
File size:
996 bytes
|
Line | |
---|
1 | #ifndef ELEMENTBEAM_SEEN |
---|
2 | #define ELEMENTBEAM_SEEN |
---|
3 | |
---|
4 | #include <iostream> |
---|
5 | #include <string> |
---|
6 | |
---|
7 | #include "abstractElement.h" |
---|
8 | |
---|
9 | using namespace std; |
---|
10 | |
---|
11 | class elementBeam : public abstractElement |
---|
12 | { |
---|
13 | |
---|
14 | double x_, xp_, y_, yp_; |
---|
15 | double dl_, del_; |
---|
16 | double p0_; |
---|
17 | |
---|
18 | double xDef_, xpDef_, yDef_, ypDef_; |
---|
19 | double dlDef_, delDef_; |
---|
20 | double p0Def_; |
---|
21 | |
---|
22 | void setDefaultValues(); |
---|
23 | void setDefaults(); |
---|
24 | |
---|
25 | public : |
---|
26 | |
---|
27 | elementBeam(); |
---|
28 | ~elementBeam(); |
---|
29 | |
---|
30 | |
---|
31 | virtual void setParametersString(string* param); |
---|
32 | virtual string* getParametersString() const; |
---|
33 | virtual vector< pair<string, vector<string> > > parametersToSoftware () const; |
---|
34 | // virtual string parmelaOutputFlow() const; |
---|
35 | // virtual string transportOutputFlow() const; |
---|
36 | |
---|
37 | virtual string FileOutputFlow() const; |
---|
38 | virtual void FileInput(ifstream& ifs); |
---|
39 | virtual void InputRep(UAPNode* root); |
---|
40 | |
---|
41 | /** return a string with all parameters and value */ |
---|
42 | string print(); |
---|
43 | }; |
---|
44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.