source: issm/branches/trunk-jpl-damage/src/c/modules/InputControlUpdatex/InputControlUpdatex.cpp@ 11427

Last change on this file since 11427 was 4967, checked in by Mathieu Morlighem, 15 years ago

Update control method: now use module InputControlUpdate to update/constrain and save the parameter

File size: 666 bytes
Line 
1/*!\file InputControlUpdatex
2 * \brief: Y=Y+aX operation on inputs.
3 */
4
5#include "./InputControlUpdatex.h"
6#include "../../shared/shared.h"
7#include "../../include/include.h"
8#include "../../toolkits/toolkits.h"
9#include "../../EnumDefinitions/EnumDefinitions.h"
10
11void InputControlUpdatex(Elements* elements,Nodes* nodes,Vertices* vertices,Loads* loads,Materials* materials,Parameters* parameters,double scalar,bool save_parameter){
12
13 /*Go through elemnets, and ask to carry out the operation on inputs: */
14 for(int i=0;i<elements->Size();i++){
15 Element* element=(Element*)elements->GetObjectByOffset(i);
16 element->InputControlUpdate(scalar,save_parameter);
17 }
18}
Note: See TracBrowser for help on using the repository browser.