Last change
on this file since 17275 was 17275, checked in by Mathieu Morlighem, 11 years ago |
CHG: removing materials inputs, that are now in element
|
File size:
573 bytes
|
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"
|
---|
[14951] | 7 | #include "../../classes/classes.h"
|
---|
[4043] | 8 | #include "../../toolkits/toolkits.h"
|
---|
| 9 |
|
---|
[16219] | 10 | void InputDuplicatex(FemModel* femmodel,int original_enum, int new_enum){
|
---|
[4572] | 11 | /*Go through elemnets, and ask to reinitialie the input: */
|
---|
[16219] | 12 | for(int i=0;i<femmodel->elements->Size();i++){
|
---|
| 13 | Element* element=dynamic_cast<Element*>(femmodel->elements->GetObjectByOffset(i));
|
---|
[4112] | 14 | element->InputDuplicate(original_enum,new_enum);
|
---|
[4043] | 15 | }
|
---|
| 16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.