Changeset 4312
- Timestamp:
- 06/29/10 10:59:44 (15 years ago)
- Location:
- issm/trunk/src/c/objects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/ExternalResults/DoubleMatExternalResult.cpp
r4307 r4312 54 54 55 55 /*Object virtual functions definitions:*/ 56 void Echo();57 void DeepEcho();58 int Id();59 int MyRank();60 void Marshall(char** pmarshalled_dataset);61 int MarshallSize();62 void Demarshall(char** pmarshalled_dataset);63 int Enum();64 Object* copy();65 56 /*FUNCTION DoubleMatExternalResult::Echo {{{1*/ 66 57 void DoubleMatExternalResult::Echo(void){ -
issm/trunk/src/c/objects/Patch.cpp
r4246 r4312 61 61 } 62 62 /*}}}*/ 63 /*FUNCTION Patch::fillelementinfo(int row, int element_id, int* vertices_ids, int num_vertices);{{{1*/ 63 64 /*Object methods*/ 65 /*FUNCTION Patch::fillelementinfo{{{1*/ 64 66 void Patch::fillelementinfo(int count, int element_id, int* vertices_ids, int num_vertices){ 65 67 … … 80 82 } 81 83 /*}}}*/ 82 /*FUNCTION Patch::fillresultinfo (int row,int enum_type,int step, double time, int interpolation, double* nodal_values, int num_nodes){{{1*/84 /*FUNCTION Patch::fillresultinfo{{{1*/ 83 85 void Patch::fillresultinfo(int count,int enum_type,int step, double time, int interpolation, double* nodal_values, int num_nodes){ 84 86 … … 102 104 } 103 105 /*}}}*/ 104 /*FUNCTION Patch::MPI_Gather (void){{{1*/106 /*FUNCTION Patch::MPI_Gather{{{1*/ 105 107 void Patch::MPI_Gather(void){ 106 108 -
issm/trunk/src/c/objects/Patch.h
r4042 r4312 3 3 */ 4 4 5 6 /* 7 A Patch object is used to store all results held in elements, in a serial way, and to dump them to disk. 5 /*A Patch object is used to store all results held in elements, in a serial way, and to dump them to disk. 8 6 9 7 Each row of the Patch object is made of the following information: 10 the result enum_type, the step and time, the id of the element, the interpolation type, the vertices ids, and the values 11 at the nodes (could be different from the vertices). For ex: 12 13 VxEnum 1 .5 1 P0 1 2 4.5 NaN NaN //on a Beam element, Vx, at step 1, time .5, element id 1, interpolation type P0 (constant value on a beam element), vertices ids 1 and 2, one constant value 4.5 14 VzEnum 2 .8 2 P1 1 3 4 4.5 3.2 2.5 //on a Tria element, Vz, at step 2, time .8, element id 2, interpolation type P1 (linear values on a tria element), vertices ids 1 3 and 4, with values at 3 nodes 4.5, 3.2, 2.5 15 ... etc ... 16 8 - the result enum_type, 9 - the step and time, 10 - the id of the element, 11 - the interpolation type, 12 - the vertices ids, 13 - and the values at the nodes (could be different from the vertices). 14 15 For ex: 16 1. on a Beam element, Vx, at step 1, time .5, element id 1, interpolation type P0 (constant), vertices ids 1 and 2, one constant value 4.5 17 VxEnum 1 .5 1 P0 1 2 4.5 NaN NaN 18 2. on a Tria element, Vz, at step 2, time .8, element id 2, interpolation type P1 (linear), vertices ids 1 3 and 4, with values at 3 nodes 4.5, 3.2, 2.5 19 VzEnum 2 .8 2 P1 1 3 4 4.5 3.2 2.5 17 20 */ 18 21 … … 35 38 36 39 double* values; //result values 37 38 40 39 41 Patch(); … … 45 47 void WriteToDisk(int solutiontype,char* filename); 46 48 47 48 49 49 }; 50 50 51 52 51 #endif //ifndef _PATCH_H_ 53
Note:
See TracChangeset
for help on using the changeset viewer.