Changeset 4578
- Timestamp:
- 07/14/10 08:02:02 (15 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Makefile.am
r4574 r4578 373 373 ./modules/ModelProcessorx/SurfaceSlope/CreateLoadsSurfaceSlope.cpp\ 374 374 ./modules/ModelProcessorx/Control/CreateParametersControl.cpp\ 375 ./modules/ModelProcessorx/Control/UpdateElementsControl.cpp\376 375 ./modules/ModelProcessorx/Thermal/UpdateElementsThermal.cpp\ 377 376 ./modules/ModelProcessorx/Thermal/CreateNodesThermal.cpp\ … … 925 924 ./modules/ModelProcessorx/SurfaceSlope/CreateLoadsSurfaceSlope.cpp\ 926 925 ./modules/ModelProcessorx/Control/CreateParametersControl.cpp\ 927 ./modules/ModelProcessorx/Control/UpdateElementsControl.cpp\928 926 ./modules/ModelProcessorx/Thermal/UpdateElementsThermal.cpp\ 929 927 ./modules/ModelProcessorx/Thermal/CreateNodesThermal.cpp\ -
issm/trunk/src/c/modules/ModelProcessorx/CreateDataSets.cpp
r4365 r4578 122 122 } 123 123 124 /*Update Elements in case of control methods*/125 UpdateElementsControl(elements,iomodel,iomodel_handle,analysis_counter,analysis_type);126 127 124 /*Generate objects that are not dependent on any analysis_type: */ 128 125 CreateParameters(pparameters,iomodel,iomodel_handle,solution_type,analysis_type,analysis_counter); -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/UpdateElementsDiagnosticHoriz.cpp
r4441 r4578 16 16 17 17 /*Intermediary*/ 18 int i;19 int counter;20 Element * element=NULL;18 int i; 19 int counter; 20 Element *element = NULL; 21 21 22 22 /*Now, is the flag macayaealpattyn on? otherwise, do nothing: */ … … 42 42 IoModelFetchData(&iomodel->elementonsurface,NULL,NULL,iomodel_handle,"elementonsurface"); 43 43 IoModelFetchData(&iomodel->vz,NULL,NULL,iomodel_handle,"vz"); 44 } 45 if(iomodel->control_analysis){ 46 IoModelFetchData(&iomodel->vx_obs,NULL,NULL,iomodel_handle,"vx_obs"); 47 IoModelFetchData(&iomodel->vy_obs,NULL,NULL,iomodel_handle,"vy_obs"); 48 IoModelFetchData(&iomodel->weights,NULL,NULL,iomodel_handle,"weights"); 49 IoModelFetchData(&iomodel->control_parameter,NULL,NULL,iomodel_handle,iomodel->control_type); //copy the control parameter in iomodel 44 50 } 45 51 … … 73 79 xfree((void**)&iomodel->vy); 74 80 xfree((void**)&iomodel->vz); 81 xfree((void**)&iomodel->vx_obs); 82 xfree((void**)&iomodel->vy_obs); 83 xfree((void**)&iomodel->weights); 84 xfree((void**)&iomodel->control_parameter); 75 85 } -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticStokes/UpdateElementsDiagnosticStokes.cpp
r4457 r4578 44 44 IoModelFetchData(&iomodel->vy,NULL,NULL,iomodel_handle,"vy"); 45 45 IoModelFetchData(&iomodel->vz,NULL,NULL,iomodel_handle,"vz"); 46 if(iomodel->control_analysis){ 47 IoModelFetchData(&iomodel->vx_obs,NULL,NULL,iomodel_handle,"vx_obs"); 48 IoModelFetchData(&iomodel->vy_obs,NULL,NULL,iomodel_handle,"vy_obs"); 49 IoModelFetchData(&iomodel->weights,NULL,NULL,iomodel_handle,"weights"); 50 IoModelFetchData(&iomodel->control_parameter,NULL,NULL,iomodel_handle,iomodel->control_type); //copy the control parameter in iomodel 51 } 46 52 47 53 /*Update elements: */ … … 77 83 xfree((void**)&iomodel->vy); 78 84 xfree((void**)&iomodel->vz); 85 xfree((void**)&iomodel->vx_obs); 86 xfree((void**)&iomodel->vy_obs); 87 xfree((void**)&iomodel->weights); 88 xfree((void**)&iomodel->control_parameter); 79 89 } -
issm/trunk/src/c/modules/ModelProcessorx/ModelProcessorx.h
r4363 r4578 21 21 void CreateParametersControl(Parameters** pparameters,IoModel* iomodel,ConstDataHandle iomodel_handle,int analysis_type); 22 22 void CreateParametersQmu(Parameters** pparameters,IoModel* iomodel,ConstDataHandle iomodel_handle,int analysis_type); 23 void UpdateElementsControl(Elements* elements,IoModel* iomodel_handle,ConstDataHandle iomodel_handle,int analysis_counter,int analysis_type);24 23 25 24 /*Creation of fem datasets: specialised drivers: */ -
issm/trunk/src/c/objects/Elements/Penta.cpp
r4575 r4578 660 660 } 661 661 /*}}}*/ 662 662 /*FUNCTION Penta::SetCurrentConfiguration {{{1*/ 663 663 void Penta::SetCurrentConfiguration(Elements* elementsin, Loads* loadsin, DataSet* nodesin, Materials* materialsin, Parameters* parametersin){ 664 664
Note:
See TracChangeset
for help on using the changeset viewer.