Changeset 4312


Ignore:
Timestamp:
06/29/10 10:59:44 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor cosmetics

Location:
issm/trunk/src/c/objects
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/ExternalResults/DoubleMatExternalResult.cpp

    r4307 r4312  
    5454
    5555/*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();
    6556/*FUNCTION DoubleMatExternalResult::Echo {{{1*/
    6657void DoubleMatExternalResult::Echo(void){
  • issm/trunk/src/c/objects/Patch.cpp

    r4246 r4312  
    6161}
    6262/*}}}*/
    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*/
    6466void Patch::fillelementinfo(int count, int element_id, int* vertices_ids, int num_vertices){
    6567
     
    8082}
    8183/*}}}*/
    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*/
    8385void Patch::fillresultinfo(int count,int enum_type,int step, double time, int interpolation, double* nodal_values, int num_nodes){
    8486
     
    102104}
    103105/*}}}*/
    104 /*FUNCTION Patch::MPI_Gather(void){{{1*/
     106/*FUNCTION Patch::MPI_Gather{{{1*/
    105107void Patch::MPI_Gather(void){
    106108
  • issm/trunk/src/c/objects/Patch.h

    r4042 r4312  
    33 */
    44
    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.
    86       
    97        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
    1720*/
    1821
     
    3538               
    3639                double* values;  //result values
    37                                
    3840
    3941                Patch();
     
    4547                void WriteToDisk(int solutiontype,char* filename);
    4648
    47 
    48 
    4949};
    5050
    51 
    5251#endif //ifndef _PATCH_H_
    53 
Note: See TracChangeset for help on using the changeset viewer.