Last change
on this file since 6238 was 6238, checked in by Mathieu Morlighem, 14 years ago |
Fixed Gradient scaling (Added new module)
|
File size:
625 bytes
|
Rev | Line | |
---|
[6238] | 1 | /*!\file ControlInputScaleGradientx
|
---|
| 2 | * \brief retrieve gradient from inputs in elements
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | #include "./ControlInputScaleGradientx.h"
|
---|
| 6 | #include "../../shared/shared.h"
|
---|
| 7 | #include "../../include/include.h"
|
---|
| 8 | #include "../../toolkits/toolkits.h"
|
---|
| 9 | #include "../../EnumDefinitions/EnumDefinitions.h"
|
---|
| 10 |
|
---|
| 11 | void ControlInputScaleGradientx(Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters, int NameEnum,double scale){
|
---|
| 12 |
|
---|
| 13 | for(int i=0;i<elements->Size();i++){
|
---|
| 14 | Element* element=(Element*)elements->GetObjectByOffset(i);
|
---|
| 15 | element->ControlInputScaleGradient(NameEnum,scale);
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.