Poster of Linux kernelThe best gift for a Linux geek
BoundaryInfo::Fill

BoundaryInfo::Fill

Section: C Library Functions (3) Updated: Thu Apr 7 2011
Local index Up
 

NAME

BoundaryInfo::Fill -  

SYNOPSIS


 

Public Member Functions


Fill (std::map< short int, unsigned int > &im)

~Fill ()

void operator() (const short int &pos)
 

Private Attributes


std::map< short int, unsigned int > & id_map

unsigned int cnt
 

Detailed Description

Functor class for printing a single node's info To be used with 'for_each'. Functor class for printing a single side's info. To be used with 'for_each'. Functor class for initializing a map. The entries being added to the map increase by exactly one each time. The desctructor also inserts the invalid_id entry.

Definition at line 328 of file boundary_info.h.  

Constructor & Destructor Documentation

 

BoundaryInfo::Fill::Fill (std::map< short int, unsigned int > &im) [inline]

Definition at line 331 of file boundary_info.h.

: id_map(im), cnt(0) {}
 

BoundaryInfo::Fill::~Fill () [inline]

Definition at line 333 of file boundary_info.h.

References cnt, id_map, and BoundaryInfo::invalid_id.

    {
      id_map[invalid_id] = cnt;
    }
 

Member Function Documentation

 

void BoundaryInfo::Fill::operator() (const short int &pos) [inline]

Definition at line 339 of file boundary_info.h.

References cnt, and id_map.

    {
      id_map[pos] = cnt++;
    }
 

Member Data Documentation

 

unsigned int BoundaryInfo::Fill::cnt [private]

Definition at line 346 of file boundary_info.h.

Referenced by operator()(), and ~Fill().  

std::map<short int, unsigned int>& BoundaryInfo::Fill::id_map [private]

Definition at line 345 of file boundary_info.h.

Referenced by operator()(), and ~Fill().

 

Author

Generated automatically by Doxygen for libMesh from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Private Attributes
Detailed Description
Constructor & Destructor Documentation
BoundaryInfo::Fill::Fill (std::map< short int, unsigned int > &im) [inline]
BoundaryInfo::Fill::~Fill () [inline]
Member Function Documentation
void BoundaryInfo::Fill::operator() (const short int &pos) [inline]
Member Data Documentation
unsigned int BoundaryInfo::Fill::cnt [private]
std::map<short int, unsigned int>& BoundaryInfo::Fill::id_map [private]
Author

This document was created by man2html, using the manual pages.
Time: 21:42:46 GMT, April 16, 2011