libMesh::BoundaryInfo::Fill Class Reference

List of all members.

Public Member Functions

 Fill (std::map< boundary_id_type, dof_id_type > &im)
 ~Fill ()
void operator() (const boundary_id_type &pos)

Private Attributes

std::map< boundary_id_type,
dof_id_type > & 
id_map
dof_id_type 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 473 of file boundary_info.h.


Constructor & Destructor Documentation

libMesh::BoundaryInfo::Fill::Fill ( std::map< boundary_id_type, dof_id_type > &  im  )  [inline]

Definition at line 476 of file boundary_info.h.

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

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

Definition at line 478 of file boundary_info.h.

References cnt, id_map, and libMesh::BoundaryInfo::invalid_id.

00479     {
00480       id_map[invalid_id] = cnt;
00481     }


Member Function Documentation

void libMesh::BoundaryInfo::Fill::operator() ( const boundary_id_type pos  )  [inline]

Definition at line 484 of file boundary_info.h.

References cnt, and id_map.

00485     {
00486       id_map[pos] = cnt++;
00487     }


Member Data Documentation

Definition at line 491 of file boundary_info.h.

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

Definition at line 490 of file boundary_info.h.

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


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

Site Created By: libMesh Developers
Last modified: February 05 2013 19:55:06 UTC

Hosted By:
SourceForge.net Logo