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

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

new names

File size: 855 bytes
RevLine 
[4046]1/*!\file DuplicateInputx
2 * \brief: duplicte an input inside the elements, onto another, and wipe it off.
[4043]3 */
4
[4046]5#include "./DuplicateInputx.h"
[4043]6#include "../../shared/shared.h"
7#include "../../include/include.h"
8#include "../../toolkits/toolkits.h"
9#include "../../EnumDefinitions/EnumDefinitions.h"
10
[4046]11void DuplicateInputx(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);
[4046]22 element->DuplicateInput(reinitialized_enum,original_enum);
[4043]23 }
24
25}
Note: See TracBrowser for help on using the repository browser.