source: issm/trunk-jpl/src/c/modules/InputDuplicatex/InputDuplicatex.cpp@ 14999

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

CHG: modules should include shared.h, and that's it.

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