Changeset 1042
- Timestamp:
- 06/22/09 13:36:42 (16 years ago)
- Location:
- issm/trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/@node/display.m
r1032 r1042 10 10 disp(sprintf(' z: %g',node.z)); 11 11 disp(sprintf(' s: %g',node.s)); 12 disp(sprintf(' surface: %g',node.surface)); 12 13 disp(sprintf(' doflist: %i %i %i %i %i %i',node.doflist(1),node.doflist(2),node.doflist(3),node.doflist(4),node.doflist(5),node.doflist(6))); 13 14 disp(sprintf(' gridset: %s',node.gridset)); -
issm/trunk/src/m/classes/@node/node.m
r1032 r1042 13 13 node.z=NaN; 14 14 node.s=NaN; 15 node.surface=NaN; 15 16 node.doflist=zeros(6,1); %6 degrees of freedom available per node. 16 17 node.gridset=''; -
issm/trunk/src/m/solutions/cielo/diagnostic_core.m
r1033 r1042 40 40 41 41 displaystring(debug,'\n%s',['computing pressure according to MacAyeal...']); 42 p_g=ComputePressure(m_dhu.elements,m_dhu.nodes,m_dhu.loads,m_dhu.materials,m_dhu.parameters );42 p_g=ComputePressure(m_dhu.elements,m_dhu.nodes,m_dhu.loads,m_dhu.materials,m_dhu.parameters,inputs); 43 43 44 44 displaystring(debug,'\n%s',['update boundary conditions for macyeal pattyn using hutter results...']); … … 56 56 57 57 displaystring(debug,'\n%s',['computing pressure according to MacAyeal...']); 58 p_g=ComputePressure(m_dh.elements,m_dh.nodes,m_dh.loads,m_dh.materials,m_dh.parameters );58 p_g=ComputePressure(m_dh.elements,m_dh.nodes,m_dh.loads,m_dh.materials,m_dh.parameters,inputs); 59 59 end 60 60 … … 74 74 75 75 displaystring(debug,'\n%s',['computing pressure according to Pattyn...']); 76 p_g=ComputePressure(m_dh.elements,m_dh.nodes,m_dh.loads,m_dh.materials,m_dh.parameters );76 p_g=ComputePressure(m_dh.elements,m_dh.nodes,m_dh.loads,m_dh.materials,m_dh.parameters,inputs); 77 77 78 78 if isstokes, -
issm/trunk/src/mex/ComputePressure/ComputePressure.cpp
r303 r1042 15 15 DataSet* loads=NULL; 16 16 DataSet* materials=NULL; 17 ParameterInputs* inputs=NULL; 17 18 int numberofnodes; 18 19 … … 34 35 35 36 /*!Generate internal degree of freedom numbers: */ 37 /*Fetch inputs: */ 38 inputs=new ParameterInputs; 39 inputs->Init(INPUTS); 40 41 UpdateFromInputsx(elements,nodes,loads, materials,inputs); 42 43 /*!Generate internal degree of freedom numbers: */ 36 44 ComputePressurex(&p_g, elements,nodes,loads,materials,numberofnodes); 37 45 … … 44 52 delete materials; 45 53 delete loads; 54 delete inputs; 46 55 VecFree(&p_g); 47 56 … … 52 61 void ComputePressureUsage(void) { 53 62 _printf_("\n"); 54 _printf_(" usage: [p_g] = %s(elements, nodes, loads, materials, params );\n",__FUNCT__);63 _printf_(" usage: [p_g] = %s(elements, nodes, loads, materials, params,inputs);\n",__FUNCT__); 55 64 _printf_("\n"); 56 65 } -
issm/trunk/src/mex/ComputePressure/ComputePressure.h
r303 r1042 22 22 #define MATERIALS (mxArray*)prhs[3] 23 23 #define PARAMS (mxArray*)prhs[4] 24 #define INPUTS (mxArray*)prhs[5] 24 25 25 26 /* serial output macros: */ … … 30 31 #define NLHS 1 31 32 #undef NRHS 32 #define NRHS 533 #define NRHS 6 33 34 34 35
Note:
See TracChangeset
for help on using the changeset viewer.