source: issm/trunk/src/c/modules/InputDuplicatex/InputDuplicatex.cpp@ 4572

Last change on this file since 4572 was 4572, checked in by Eric.Larour, 15 years ago

No configuration needed in InputDuplicatex
Tria stupid bug

File size: 692 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 "../../include/include.h"
8#include "../../toolkits/toolkits.h"
9#include "../../EnumDefinitions/EnumDefinitions.h"
10
11void InputDuplicatex(Elements* elements,Nodes* nodes,Vertices* vertices,Loads* loads,Materials* materials,Parameters* parameters,int original_enum, int new_enum){
12
13 /*Go through elemnets, and ask to reinitialie the input: */
14
15 int i;
16 for(i=0;i<elements->Size();i++){
17 Element* element=(Element*)elements->GetObjectByOffset(i);
18 element->InputDuplicate(original_enum,new_enum);
19 }
20
21}
Note: See TracBrowser for help on using the repository browser.