Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
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

void set_stats::add ( const set_stats other) [inline]

Definition at line 109 of file size.cpp.

References edge_uses, MBMAXTYPE, and stats.

Referenced by main().

    {
        for( int i = 0; i < MBMAXTYPE; ++i )
            stats[i].add( other.stats[i] );
        edge_uses.add( other.edge_uses );
    }
void set_stats::clear ( ) [inline]

Definition at line 116 of file size.cpp.

References MBMAXTYPE.

Referenced by main().

    {
        for( int i = 0; i < MBMAXTYPE; ++i )
            stats[i].clear();
        edge_uses.clear();
    }

Member Data Documentation

Definition at line 106 of file size.cpp.

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

Definition at line 107 of file size.cpp.

Referenced by gather_set_stats(), and print_stats().

Definition at line 105 of file size.cpp.

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

List of all members.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines