Changeset 16336
- Timestamp:
- 10/08/13 11:01:21 (11 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Vertex.cpp
r15375 r16336 45 45 46 46 /*all the initialization has been done by the initializer, just fill in the id: */ 47 this->id =vertex_id;48 this->sid =vertex_sid;49 this->pid =UNDEF;50 this->x =vertex_x;51 this->y =vertex_y;52 this->z =vertex_z;53 this->sigma =vertex_sigma;54 this->connectivity =vertex_connectivity;47 this->id = vertex_id; 48 this->sid = vertex_sid; 49 this->pid = UNDEF; 50 this->x = vertex_x; 51 this->y = vertex_y; 52 this->z = vertex_z; 53 this->sigma = vertex_sigma; 54 this->connectivity = vertex_connectivity; 55 55 56 56 return; -
issm/trunk-jpl/src/c/modules/IoModelToConstraintsx/IoModelToConstraintsx.cpp
r16291 r16336 50 50 switch(iomodel->meshtype){ 51 51 case Mesh2DhorizontalEnum: elementnbv = 3; break; 52 case Mesh2DverticalEnum: elementnbv = 3; break; 52 53 case Mesh3DEnum: elementnbv = 6; break; 53 default: _error_(" 3d is the only supported dimension");54 default: _error_("mesh type not supported yet"); 54 55 } 55 56 break; -
issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp
r16334 r16336 99 99 100 100 for(i=0;i<iomodel->numberofvertices;i++){ 101 102 /*vertices and nodes (same number, as we are running continuous galerkin formulation): */ 103 if(iomodel->my_vertices[i]){ 104 105 /*Add vertex to vertices dataset: */ 106 vertices->AddObject(new Vertex(i+1,i,i,iomodel)); 107 } 101 if(iomodel->my_vertices[i]) vertices->AddObject(new Vertex(i+1,i,i,iomodel)); 108 102 } 109 103 -
issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateNumberNodeToElementConnectivity.cpp
r16291 r16336 35 35 connectivity=xNewZeroInit<int>(iomodel->numberofvertices); 36 36 37 /*Get element width (3 or 6)*/38 if(iomodel->meshtype==Mesh2DhorizontalEnum){39 elementswidth=3;40 }41 else{42 elementswidth=6;37 /*Get element width*/ 38 switch(iomodel->meshtype){ 39 case Mesh2DhorizontalEnum: elementswidth=3; break; 40 case Mesh2DverticalEnum: elementswidth=3; break; 41 case Mesh3DEnum: elementswidth=6; break; 42 default: _error_("mesh not supported yet"); 43 43 } 44 44
Note:
See TracChangeset
for help on using the changeset viewer.