$extrastylesheet
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 616 of file boundary_info.h.


Constructor & Destructor Documentation

Definition at line 619 of file boundary_info.h.

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

Definition at line 621 of file boundary_info.h.

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


Member Function Documentation

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

Definition at line 627 of file boundary_info.h.

References cnt, and id_map.

    {
      id_map[pos] = cnt++;
    }

Member Data Documentation

Definition at line 634 of file boundary_info.h.

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

Definition at line 633 of file boundary_info.h.

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


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