MFEM  v3.3
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::IntegerSet Class Reference

A set of integers. More...

#include <sets.hpp>

Public Member Functions

 IntegerSet ()
 
 IntegerSet (IntegerSet &s)
 
 IntegerSet (const int n, const int *p)
 
int Size ()
 
 operator Array< int > & ()
 
int PickElement ()
 
int PickRandomElement ()
 
int operator== (IntegerSet &s)
 
void Recreate (const int n, const int *p)
 

Detailed Description

A set of integers.

Definition at line 23 of file sets.hpp.

Constructor & Destructor Documentation

mfem::IntegerSet::IntegerSet ( )
inline

Definition at line 29 of file sets.hpp.

mfem::IntegerSet::IntegerSet ( IntegerSet s)

Definition at line 18 of file sets.cpp.

mfem::IntegerSet::IntegerSet ( const int  n,
const int *  p 
)
inline

Create an integer set from a block of memory containing integer values ( like an array ).

n - length ( number of integers ) p - pointer to block of memory containing the integer values

Definition at line 38 of file sets.hpp.

Member Function Documentation

mfem::IntegerSet::operator Array< int > & ( )
inline

Definition at line 42 of file sets.hpp.

int mfem::IntegerSet::operator== ( IntegerSet s)

Definition at line 28 of file sets.cpp.

int mfem::IntegerSet::PickElement ( )
inline

Definition at line 44 of file sets.hpp.

int mfem::IntegerSet::PickRandomElement ( )

Definition at line 44 of file sets.cpp.

void mfem::IntegerSet::Recreate ( const int  n,
const int *  p 
)

Definition at line 59 of file sets.cpp.

int mfem::IntegerSet::Size ( )
inline

Definition at line 40 of file sets.hpp.


The documentation for this class was generated from the following files: