Rev | Line | |
---|
[4062] | 1 | /*!\file InputDuplicatex
|
---|
[4046] | 2 | * \brief: duplicte an input inside the elements, onto another, and wipe it off.
|
---|
[4043] | 3 | */
|
---|
| 4 |
|
---|
[4062] | 5 | #include "./InputDuplicatex.h"
|
---|
[4043] | 6 | #include "../../shared/shared.h"
|
---|
| 7 | #include "../../include/include.h"
|
---|
| 8 | #include "../../toolkits/toolkits.h"
|
---|
| 9 | #include "../../EnumDefinitions/EnumDefinitions.h"
|
---|
| 10 |
|
---|
[4062] | 11 | void InputDuplicatex(DataSet* elements,DataSet* nodes,DataSet* vertices,DataSet* loads,DataSet* materials,Parameters* parameters,int reinitialized_enum, int original_enum){
|
---|
[4043] | 12 |
|
---|
| 13 | /*intermediary:*/
|
---|
| 14 | int i;
|
---|
| 15 |
|
---|
| 16 | /*First, get elements and nodes configured: */
|
---|
| 17 | elements->Configure(elements,loads, nodes,vertices, materials,parameters);
|
---|
| 18 |
|
---|
| 19 | /*Go through elemnets, and ask to reinitialie the input: */
|
---|
| 20 | for(i=0;i<elements->Size();i++){
|
---|
| 21 | Element* element=(Element*)elements->GetObjectByOffset(i);
|
---|
[4062] | 22 | element->InputDuplicate(reinitialized_enum,original_enum);
|
---|
[4043] | 23 | }
|
---|
| 24 |
|
---|
| 25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.