Last change
on this file since 19105 was 19105, checked in by Mathieu Morlighem, 10 years ago |
merged trunk-jpl and trunk for revision 19103
|
File size:
573 bytes
|
Line | |
---|
1 | /*!\file InputDuplicatex
|
---|
2 | * \brief: duplicte an input inside the elements, onto another, and wipe it off.
|
---|
3 | */
|
---|
4 |
|
---|
5 | #include "./InputDuplicatex.h"
|
---|
6 | #include "../../shared/shared.h"
|
---|
7 | #include "../../classes/classes.h"
|
---|
8 | #include "../../toolkits/toolkits.h"
|
---|
9 |
|
---|
10 | void InputDuplicatex(FemModel* femmodel,int original_enum, int new_enum){
|
---|
11 | /*Go through elemnets, and ask to reinitialie the input: */
|
---|
12 | for(int i=0;i<femmodel->elements->Size();i++){
|
---|
13 | Element* element=xDynamicCast<Element*>(femmodel->elements->GetObjectByOffset(i));
|
---|
14 | element->InputDuplicate(original_enum,new_enum);
|
---|
15 | }
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.