Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
set_stats Struct Reference
+ Collaboration diagram for set_stats:

Public Member Functions

void add (const set_stats &other)
 
void clear ()
 

Public Attributes

stat_set stats [MBMAXTYPE]
 
stat_set edge_uses
 
size_t nodes
 

Detailed Description

Definition at line 103 of file size.cpp.

Member Function Documentation

◆ add()

void set_stats::add ( const set_stats other)
inline

Definition at line 109 of file size.cpp.

110  {
111  for( int i = 0; i < MBMAXTYPE; ++i )
112  stats[i].add( other.stats[i] );
113  edge_uses.add( other.edge_uses );
114  }

References stat_set::add(), edge_uses, MBMAXTYPE, and stats.

Referenced by main().

◆ clear()

void set_stats::clear ( )
inline

Definition at line 116 of file size.cpp.

117  {
118  for( int i = 0; i < MBMAXTYPE; ++i )
119  stats[i].clear();
120  edge_uses.clear();
121  }

References stat_set::clear(), and MBMAXTYPE.

Referenced by main().

Member Data Documentation

◆ edge_uses

stat_set set_stats::edge_uses

Definition at line 106 of file size.cpp.

Referenced by add(), gather_set_stats(), and print_stats().

◆ nodes

size_t set_stats::nodes

Definition at line 107 of file size.cpp.

Referenced by gather_set_stats(), and print_stats().

◆ stats

stat_set set_stats::stats[MBMAXTYPE]

Definition at line 105 of file size.cpp.

Referenced by add(), gather_set_stats(), and print_stats().


The documentation for this struct was generated from the following file: