Changeset 4004
- Timestamp:
- 06/02/10 20:06:37 (15 years ago)
- Location:
- issm/trunk/src
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/DataSet/DataSet.cpp
r4003 r4004 550 550 /*Objects methods*/ 551 551 /*FUNCTION DataSet::Configure{{{1*/ 552 void DataSet::Configure(DataSet* elements,DataSet* loads, DataSet* nodes, DataSet* vertices, DataSet* materials,Parameters* parameters ){552 void DataSet::Configure(DataSet* elements,DataSet* loads, DataSet* nodes, DataSet* vertices, DataSet* materials,Parameters* parameters,analysis_counter,analysis_type){ 553 553 554 554 vector<Object*>::iterator object; … … 769 769 /*}}}*/ 770 770 /*FUNCTION DataSet::FlagNodeSets{{{1*/ 771 void DataSet::FlagNodeSets(Vec pv_g, Vec pv_m, Vec pv_n, Vec pv_f, Vec pv_s ){771 void DataSet::FlagNodeSets(Vec pv_g, Vec pv_m, Vec pv_n, Vec pv_f, Vec pv_s,int analysis_type){ 772 772 773 773 vector<Object*>::iterator object; … … 781 781 node=(Node*)(*object); 782 782 783 /*Plug set values intp our 4 set vectors: */ 784 node->CreateVecSets(pv_g,pv_m,pv_n,pv_f,pv_s); 783 if (node->InAnalysis(analysis_type)){ 784 785 /*Plug set values intp our 4 set vectors: */ 786 node->CreateVecSets(pv_g,pv_m,pv_n,pv_f,pv_s); 787 788 } 785 789 786 790 } -
issm/trunk/src/c/DataSet/DataSet.h
r4003 r4004 61 61 void SetupSpcs(DataSet* nodes,Vec yg,int analysis_type); 62 62 void SetupMpcs(Mat Rmg,DataSet* nodes,int analysis_type); 63 void FlagNodeSets(Vec pv_g, Vec pv_m, Vec pv_n, Vec pv_f, Vec pv_s );63 void FlagNodeSets(Vec pv_g, Vec pv_m, Vec pv_n, Vec pv_f, Vec pv_s,int analysis_type); 64 64 void clear(); 65 void Configure(DataSet* elements,DataSet* loads, DataSet* nodes, DataSet* vertices, DataSet* materials,Parameters* parameters );65 void Configure(DataSet* elements,DataSet* loads, DataSet* nodes, DataSet* vertices, DataSet* materials,Parameters* parameters,int analysis_counter,int analysis_type); 66 66 Object* GetObjectByOffset(int offset); 67 67 Object* GetObjectById(int* poffset,int eid); -
issm/trunk/src/c/modules/BuildNodeSetsx/BuildNodeSetsx.cpp
r3913 r4004 10 10 #include "../../EnumDefinitions/EnumDefinitions.h" 11 11 12 int BuildNodeSetsx( NodeSets** pnodesets, DataSet* nodes ){12 int BuildNodeSetsx( NodeSets** pnodesets, DataSet* nodes,int analysis_type){ 13 13 14 14 int noerr=1; … … 35 35 36 36 /*Get gsize; */ 37 gsize=nodes->NumberOfDofs( );37 gsize=nodes->NumberOfDofs(analysis_type); 38 38 39 39 if(gsize){ … … 49 49 * pv_m, pv_n, pv_f and pv_s, their own set flags, for each dof: */ 50 50 nodes->FlagNodeSets(flag_pv_g,flag_pv_m,flag_pv_n,flag_pv_f,flag_pv_s); 51 52 51 53 52 /*Now, every cpu has 4 flag vectors, of size gsize. Create partition vectors (like a pos=find(flag_pv_g) in matlab*/ -
issm/trunk/src/c/modules/BuildNodeSetsx/BuildNodeSetsx.h
r3913 r4004 10 10 11 11 /* local prototypes: */ 12 int BuildNodeSetsx( NodeSets** pnodesets,DataSet* nodes );12 int BuildNodeSetsx( NodeSets** pnodesets,DataSet* nodes,int analysis_type); 13 13 void PartitionSets(Vec* ppvb, Vec* ppvc,Vec flag_pva, Vec flag_pv_b, Vec flag_pv_c,int gsize); 14 14 -
issm/trunk/src/c/modules/ConfigureObjectsx/ConfigureObjectsx.cpp
r3967 r4004 10 10 #include "../../EnumDefinitions/EnumDefinitions.h" 11 11 12 int ConfigureObjectsx( DataSet* elements, DataSet* loads, DataSet* nodes, DataSet* vertices, DataSet* materials,Parameters* parameters ){12 int ConfigureObjectsx( DataSet* elements, DataSet* loads, DataSet* nodes, DataSet* vertices, DataSet* materials,Parameters* parameters,int analysis_type){ 13 13 14 14 /*Intermediary*/ … … 22 22 for (i=0;i<elements->Size();i++){ 23 23 element=(Element*)elements->GetObjectByOffset(i); 24 element->Configure(elements,loads,nodes,materials,parameters );24 element->Configure(elements,loads,nodes,materials,parameters,analysis_counter); 25 25 } 26 26 //_printf_(" Configuring loads...\n"); 27 27 for (i=0;i<loads->Size();i++){ 28 28 load=(Load*)loads->GetObjectByOffset(i); 29 load->Configure(elements,loads,nodes,vertices,materials,parameters); 29 if (load->InAnalysis(analysis_type)){ 30 load->Configure(elements,loads,nodes,vertices,materials,parameters); 31 } 30 32 } 31 33 //_printf_(" Configuring nodes...\n"); 32 34 for (i=0;i<nodes->Size();i++){ 33 35 node=(Node*)nodes->GetObjectByOffset(i); 34 node->Configure(nodes,vertices); 36 if(node->InAnalysis(analysis_type)){ 37 node->Configure(nodes,vertices); 38 } 35 39 } 36 //_printf_(" Configuring parameters...\n");37 /*parameters ARE NOT configured!*/38 parameters->Configure(elements,loads,nodes,vertices,materials,parameters);39 40 40 41 return noerr; -
issm/trunk/src/c/modules/ConfigureObjectsx/ConfigureObjectsx.h
r3913 r4004 9 9 10 10 /* local prototypes: */ 11 int ConfigureObjectsx( DataSet* elements, DataSet* loads, DataSet* nodes, DataSet* vertices, DataSet* materials, Parameters* parameters);11 int ConfigureObjectsx( DataSet* elements, DataSet* loads, DataSet* nodes, DataSet* vertices, DataSet* materials, Parameters* parameters,int analysis_type); 12 12 13 13 #endif /* _CONFIGUREOBJECTSX_H */ -
issm/trunk/src/c/objects/Elements/Beam.cpp
r3956 r4004 164 164 /*Object management*/ 165 165 /*FUNCTION Beam::Configure{{{1*/ 166 void Beam::Configure(DataSet* elementsin,DataSet* loadsin, DataSet* nodesin, DataSet* materialsin, Parameters* parametersin ){166 void Beam::Configure(DataSet* elementsin,DataSet* loadsin, DataSet* nodesin, DataSet* materialsin, Parameters* parametersin,int analysis_counter){ 167 167 168 168 int i; -
issm/trunk/src/c/objects/Elements/Beam.h
r3956 r4004 50 50 bool IsInput(int name); 51 51 int MyRank(); 52 void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* materials,Parameters* parameters );52 void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* materials,Parameters* parameters,int analysis_counter); 53 53 Object* copy(); 54 54 void SetClone(int* minranks); -
issm/trunk/src/c/objects/Elements/Element.h
r3956 r4004 24 24 25 25 virtual ~Element(){}; 26 virtual void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* materials,Parameters* parameters )=0;26 virtual void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* materials,Parameters* parameters,int analysis_counter)=0; 27 27 28 28 virtual void CreateKMatrix(Mat Kgg,int analysis_type,int sub_analysis_type)=0; -
issm/trunk/src/c/objects/Elements/Sing.cpp
r3956 r4004 105 105 /*Object management*/ 106 106 /*FUNCTION Sing::Configure {{{1*/ 107 void Sing::Configure(DataSet* elementsin,DataSet* loadsin, DataSet* nodesin, DataSet* materialsin, Parameters* parametersin ){107 void Sing::Configure(DataSet* elementsin,DataSet* loadsin, DataSet* nodesin, DataSet* materialsin, Parameters* parametersin,int analysis_counter){ 108 108 109 109 int i; -
issm/trunk/src/c/objects/Elements/Sing.h
r3956 r4004 41 41 /*}}}*/ 42 42 /*object management: {{{1*/ 43 void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* materials,Parameters* parameters );43 void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* materials,Parameters* parameters,int analysis_counter); 44 44 Object* copy(); 45 45 void DeepEcho(); -
issm/trunk/src/c/objects/Elements/Tria.h
r4001 r4004 41 41 /*}}}*/ 42 42 /*FUNCTION object management {{{1*/ 43 void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* materials,Parameters* parameters );43 void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* materials,Parameters* parameters,int analysis_counter); 44 44 void Update(IoModel* iomodel,int analysis_counter,int analysis_type); 45 45 Object* copy(); -
issm/trunk/src/c/objects/FemModel.cpp
r4003 r4004 21 21 /*Object constructors and destructor*/ 22 22 /*FUNCTION FemModel::constructor {{{1*/ 23 FemModel::FemModel( int in_nummodels){23 FemModel::FemModel(ConstDataHandle IOMODEL,int* analyses, int nummodels){ 24 24 25 25 /*intermediary*/ 26 26 int i; 27 IoModel* iomodel=NULL; 28 int analysis_type; 27 29 28 nummodels=in_nummodels;29 analysis_counter= -1;30 this->nummodels=nummodels; 31 analysis_counter=nummodels-1; //point to last analysis_type carried out. 30 32 31 33 /*Dynamically allocate whatever is a list of length nummodels: */ 32 34 analysis_type_list=(int*)xmalloc(nummodels*sizeof(int)); 33 for(i=0;i<nummodels;i++)analysis_type_list[i]=NoneAnalysisEnum; 35 Rmg=(Mat*)xmalloc(nummodels*sizeof(Mat)); 36 Gmn=(Mat*)xmalloc(nummodels*sizeof(Mat)); 37 nodesets=(NodeSets**)xmalloc(nummodels*sizeof(NodeSet*)); 38 yg=(Vec*)xmalloc(nummodels*sizeof(Vec)); 39 ys=(Vec*)xmalloc(nummodels*sizeof(Vec)); 34 40 35 Rmg=(Mat*)xmalloc(nummodels*sizeof(Mat)); 41 /*Initialize: */ 42 for(i=0;i<nummodels;i++)analysis_type_list[i]=analyses[i]; 36 43 for(i=0;i<nummodels;i++)Rmg[i]=NULL; 37 38 Gmn=(Mat*)xmalloc(nummodels*sizeof(Mat));39 44 for(i=0;i<nummodels;i++)Gmn[i]=NULL; 40 41 nodesets=(NodeSets**)xmalloc(nummodels*sizeof(NodeSet*));42 45 for(i=0;i<nummodels;i++)nodesets[i]=NULL; 43 44 yg=(Vec*)xmalloc(nummodels*sizeof(Vec));45 46 for(i=0;i<nummodels;i++)yg[i]=NULL; 46 47 ys=(Vec*)xmalloc(nummodels*sizeof(Vec));48 47 for(i=0;i<nummodels;i++)ys[i]=NULL; 49 48 49 _printf_(" fill model with matlab workspace data\n"); 50 iomodel = new IoModel(IOMODEL); 51 52 for(i=0;i<nummodels;i++){ 53 54 analysis_type=analysis_type_list[i]; 55 56 _printf_(" create datasets:\n"); 57 CreateDataSets(&elements,&nodes,&vertices,&materials,&constraints,&loads,¶meters,iomodel,IOMODEL,analysis_type,nummodels,i); 58 59 _printf_(" create degrees of freedom: \n"); 60 VerticesDofx( &partition,&tpartition,vertices,parameters); 61 NodesDofx( nodes,parameters); 62 63 _printf_(" create single point constraints: \n"); 64 SpcNodesx( &yg[i], nodes,constraints,analysis_type); 65 66 _printf_(" create rigid body constraints:\n"); 67 MpcNodesx( &Rmg[i], nodes,constraints,analysis_type); 68 69 _printf_(" create node sets:\n"); 70 BuildNodeSetsx(&nodesets[i], nodes,analysis_type); 71 72 _printf_(" reducing single point constraints vector:\n"); 73 Reducevectorgtosx(&ys[i], yg[i],nodesets[i]); 74 75 _printf_(" normalizing rigid body constraints matrix:\n"); 76 NormalizeConstraintsx(&Gmn[i], Rmg[i],nodesets[i]); 77 78 _printf_(" configuring element and loads:\n"); 79 ConfigureObjectsx(elements, loads, nodes, vertices, materials,parameters,i,analysis_type); 80 } 81 82 _printf_(" free ressources:\n"); 83 delete iomodel; 50 84 } 51 85 /*}}}1*/ … … 107 141 108 142 /*Numerics: */ 109 /*FUNCTION FemModel::AddAnalysis(ConstDataHandle FEMMODEL, int analysis_type) {{{1*/110 void FemModel::AddAnalysis(ConstDataHandle IOMODEL, int analysis_type){111 112 /*Set counter: */113 if (analysis_counter==-1)analysis_counter=0;114 else analysis_counter++;115 116 /*intermediary: */117 IoModel* iomodel=NULL;118 119 _printf_(" fill model with matlab workspace data\n");120 iomodel = new IoModel(IOMODEL);121 122 _printf_(" create datasets:\n");123 CreateDataSets(&elements,&nodes,&vertices,&materials,&constraints,&loads,¶meters,iomodel,IOMODEL,analysis_type,nummodels,analysis_counter);124 125 _printf_(" create degrees of freedom: \n");126 VerticesDofx( &partition,&tpartition,vertices,parameters);127 NodesDofx( nodes,parameters);128 129 _printf_(" create single point constraints: \n");130 SpcNodesx( &yg[analysis_counter], nodes,constraints,analysis_type);131 132 _printf_(" create rigid body constraints:\n");133 MpcNodesx( &Rmg[analysis_counter], nodes,constraints,analysis_counter);134 135 _printf_(" create node sets:\n");136 BuildNodeSetsx(&nodesets[analysis_counter], nodes);137 138 _printf_(" reducing single point constraints vector:\n");139 Reducevectorgtosx(&ys[analysis_counter], yg[analysis_counter],nodesets[analysis_counter]);140 141 _printf_(" normalizing rigid body constraints matrix:\n");142 NormalizeConstraintsx(&Gmn[analysis_counter], Rmg[analysis_counter],nodesets[analysis_counter]);143 144 _printf_(" configuring element and loads:\n");145 ConfigureObjectsx(elements, loads, nodes, vertices, materials,parameters);146 147 _printf_(" process parameters:\n");148 ProcessParamsx( parameters, partition->vector);149 150 _printf_(" free ressources:\n");151 delete iomodel;152 }153 /*}}}1*/154 143 /*FUNCTION FemModel::GetCurrentAnalysis {{{1*/ 155 144 int FemModel::GetCurrentAnalysis(){ -
issm/trunk/src/c/objects/FemModel.h
r4001 r4004 46 46 47 47 /*constructors, destructors: */ 48 FemModel( int nummodels);48 FemModel(ConstDataHandle IOMODEL,int* analyses, int nummodels); 49 49 ~FemModel(); 50 50 … … 53 53 54 54 /*Fem: */ 55 void AddAnalysis(ConstDataHandle IOMODEL, int analysis_type);56 55 void SetCurrentAnalysis(int analysis_type); 57 56 int GetCurrentAnalysis(void); -
issm/trunk/src/c/objects/Loads/Load.h
r3751 r4004 34 34 virtual void PenaltyCreateKMatrix(Mat Kgg,double kmax,int analysis_type,int sub_analysis_type)=0; 35 35 virtual void PenaltyCreatePVector(Vec pg,double kmax,int analysis_type,int sub_analysis_type)=0; 36 virtual bool InAnalysis(int analysis_type); 36 37 }; 37 38 #endif -
issm/trunk/src/c/objects/Loads/Numericalflux.cpp
r3886 r4004 842 842 } 843 843 /*}}}*/ 844 /*FUNCTION Numericalflux::InAnalysis(int analysis_type){{{1*/ 845 bool Numericalflux::InAnalysis(int in_analysis_type){ 846 if (in_analysis_type=this->analysis_type)return true; 847 else return false; 848 } 849 /*}}}*/ -
issm/trunk/src/c/objects/Loads/Numericalflux.h
r3751 r4004 51 51 void UpdateInputsFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} 52 52 void UpdateInputsFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");} 53 54 53 void UpdateInputsFromSolution(double* solution, int analysis_type, int sub_analysis_type){ISSMERROR("Not implemented yet!");} 54 bool InAnalysis(int analysis_type); 55 55 56 56 /*}}}*/ -
issm/trunk/src/c/objects/Loads/Pengrid.cpp
r3877 r4004 776 776 } 777 777 /*}}}*/ 778 /*FUNCTION Pengrid::InAnalysis(int analysis_type){{{1*/ 779 bool Pengrid::InAnalysis(int in_analysis_type){ 780 if (in_analysis_type=this->analysis_type)return true; 781 else return false; 782 } 783 /*}}}*/ -
issm/trunk/src/c/objects/Loads/Pengrid.h
r3871 r4004 57 57 void UpdateInputsFromConstant(int constant, int name); 58 58 void UpdateInputsFromConstant(bool constant, int name); 59 60 59 void UpdateInputsFromSolution(double* solution, int analysis_type, int sub_analysis_type); 60 bool InAnalysis(int analysis_type); 61 61 62 62 /*}}}*/ -
issm/trunk/src/c/objects/Loads/Penpair.cpp
r3784 r4004 191 191 } 192 192 /*}}}1*/ 193 /*FUNCTION Penpair::InAnalysis(int analysis_type){{{1*/ 194 bool Penpair::InAnalysis(int in_analysis_type){ 195 if (in_analysis_type=this->analysis_type)return true; 196 else return false; 197 } 198 /*}}}*/ -
issm/trunk/src/c/objects/Loads/Penpair.h
r3751 r4004 49 49 void UpdateInputsFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} 50 50 void UpdateInputsFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");} 51 52 51 void UpdateInputsFromSolution(double* solution, int analysis_type, int sub_analysis_type){ISSMERROR("Not implemented yet!");} 52 bool InAnalysis(int analysis_type); 53 53 54 54 -
issm/trunk/src/c/solutions/diagnostic.cpp
r3982 r4004 40 40 double start_init, finish_init; 41 41 42 int analyses[5]={DiagnosticHorizAnalysisEnum,DiagnosticVertAnalysisEnum,DiagnosticStokesAnalysisEnum,DiagnosticHutterAnalysisEnum,SlopecomputeAnalysisEnum}; 43 42 44 MODULEBOOT(); 43 45 … … 61 63 /*Initialize femmodel structure: */ 62 64 MPI_Barrier(MPI_COMM_WORLD); start_init=MPI_Wtime(); 63 femmodel=new FemModel(5);64 65 65 66 /*Open handle to data on disk: */ 66 67 fid=pfopen(inputfilename,"rb"); 67 68 68 _printf_("read and create finite element femmodel:\n"); 69 _printf_("\n reading diagnostic horiz femmodel data:\n"); 70 femmodel->AddAnalysis(fid,DiagnosticHorizAnalysisEnum); 71 72 _printf_("\n reading diagnostic vert femmodel data:\n"); 73 femmodel->AddAnalysis(fid,DiagnosticVertAnalysisEnum); 69 _printf_("create finite element model, using analyses types statically defined above:\n"); 70 femmodel=new FemModel(iomodel,analyses,5); 74 71 75 _printf_("\n reading diagnostic stokes femmodel data:\n");76 femmodel->AddAnalysis(fid,DiagnosticStokesAnalysisEnum);77 78 _printf_("\n reading diagnostic hutter femmodel data:\n");79 femmodel->AddAnalysis(fid,DiagnosticHutterAnalysisEnum);80 81 _printf_("\n reading surface and bed slope computation femmodel data:\n");82 femmodel->AddAnalysis(fid,SlopecomputeAnalysisEnum);83 84 72 /*get parameters: */ 85 73 femmodel->parameters->FindParam(&qmu_analysis,QmuAnalysisEnum); -
issm/trunk/src/c/solutions/diagnostic_core.cpp
r3982 r4004 79 79 femmodel->parameters->FindParam(&numberofdofspernode_ds,NumberOfDofsPerNodeEnum); 80 80 81 / /for qmu analysis, be sure the velocity input we are starting from is the one in the parameters:*/81 /*for qmu analysis, reinitialize velocity so that fake sensitivities do not show up as a result of a different restart of the convergence at each trial.*/ 82 82 if(qmu_analysis){ 83 femmodel->parameters->FindParam(&vx,&dummy,VxEnum); femmodel->UpdateInputsFromVector(vx,VxEnum,VertexEnum);84 femmodel->parameters->FindParam(&vy,&dummy,VyEnum); femmodel->UpdateInputsFromVector(vy,VyEnum,VertexEnum);85 femmodel->parameters->FindParam(&vz,&dummy,VzEnum); femmodel->UpdateInputsFromVector(vz,VzEnum,VertexEnum);83 ReinitializeInputx(femmodel,VxEnum,QmuVxEnum); 84 ReinitializeInputx(femmodel,VyEnum,QmuVyEnum); 85 ReinitializeInputx(femmodel,VzEnum,QmuVzEnum); 86 86 } 87 87 -
issm/trunk/src/m/solutions/jpl/CreateFemModel.m
r4002 r4004 18 18 19 19 displaystring(md.verbose,'%s',' generating single point constraints...'); 20 [m.nodes,m.yg ]=SpcNodes(m.nodes,m.constraints);20 [m.nodes,m.yg(i)]=SpcNodes(m.nodes,m.constraints,analyses[i]); 21 21 22 22 displaystring(md.verbose,'%s',' generating rigid body constraints...'); 23 [m.Rmg ,m.nodes]=MpcNodes(m.nodes,m.constraints);23 [m.Rmg(i),m.nodes]=MpcNodes(m.nodes,m.constraints,analyses[i]); 24 24 25 25 displaystring(md.verbose,'%s',' generating node sets...'); 26 m.nodesets =BuildNodeSets(m.nodes);26 m.nodesets(i)=BuildNodeSets(m.nodes,analyses[i]); 27 27 28 28 displaystring(md.verbose,'%s',' reducing single point constraints vector...'); 29 m.ys =Reducevectorgtos(m.yg.vector,m.nodesets);29 m.ys(i)=Reducevectorgtos(m.yg(i).vector,m.nodesets(i)); 30 30 31 31 displaystring(md.verbose,'%s',' normalizing rigid body constraints matrix...'); 32 m.Gmn = NormalizeConstraints(m.Rmg,m.nodesets);32 m.Gmn(i)= NormalizeConstraints(m.Rmg(i),m.nodesets(i)); 33 33 34 34 displaystring(md.verbose,'%s',' configuring element and loads...'); 35 35 [m.elements,m.loads,m.nodes,m.parameters] = ConfigureObjects( m.elements, m.loads, m.nodes, m.vertices,m.materials,m.parameters); 36 37 displaystring(md.verbose,'%s',' processing parameters...');38 m.parameters= ProcessParams(m.parameters,m.part.vector);39 36 end 40 37 -
issm/trunk/src/mex/BuildNodeSets/BuildNodeSets.cpp
r2333 r4004 13 13 /*input datasets: */ 14 14 DataSet* nodes=NULL; 15 int analysis_type; 15 16 16 17 /* output datasets: */ … … 25 26 /*Input datasets: */ 26 27 FetchData(&nodes,NODES); 28 FetchData(&analysis_type,ANALYSISTYPE); 27 29 28 30 /*!Generate internal degree of freedom numbers: */ 29 BuildNodeSetsx(&nodesets, nodes );31 BuildNodeSetsx(&nodesets, nodes,analysis_type); 30 32 31 33 /*write output datasets: */ -
issm/trunk/src/mex/BuildNodeSets/BuildNodeSets.h
r3913 r4004 21 21 /* serial input macros: */ 22 22 #define NODES (mxArray*)prhs[0] 23 #define ANALYSISTYPE (mxArray*)prhs[1] 23 24 24 25 /* serial output macros: */ … … 29 30 #define NLHS 1 30 31 #undef NRHS 31 #define NRHS 132 #define NRHS 2 32 33 33 34
Note:
See TracChangeset
for help on using the changeset viewer.