Chi-Tech
chi_mesh::GridFaceHistogram Class Reference

#include <chi_grid_face_histogram.h>

Public Member Functions

 GridFaceHistogram (const std::vector< std::pair< size_t, size_t > > &face_categories)
 
size_t NumberOfFaceHistogramBins () const
 
size_t MapFaceHistogramBins (size_t num_face_verts) const
 
size_t GetFaceHistogramBinDOFSize (size_t bin_number) const
 

Private Attributes

std::vector< std::pair< size_t, size_t > > face_categories_
 

Detailed Description

Utility class for handling face categorizations based on number of vertices.

Definition at line 13 of file chi_grid_face_histogram.h.

Constructor & Destructor Documentation

◆ GridFaceHistogram()

chi_mesh::GridFaceHistogram::GridFaceHistogram ( const std::vector< std::pair< size_t, size_t > > &  face_categories)
inlineexplicit

Definition at line 19 of file chi_grid_face_histogram.h.

Member Function Documentation

◆ GetFaceHistogramBinDOFSize()

size_t chi_mesh::GridFaceHistogram::GetFaceHistogramBinDOFSize ( size_t  bin_number) const

Finds the amount of vertices per face for the given bin.

Definition at line 30 of file chi_grid_face_histogram.cc.

◆ MapFaceHistogramBins()

size_t chi_mesh::GridFaceHistogram::MapFaceHistogramBins ( size_t  num_face_verts) const

Finds which bin holds the given number of vertices

Definition at line 16 of file chi_grid_face_histogram.cc.

◆ NumberOfFaceHistogramBins()

size_t chi_mesh::GridFaceHistogram::NumberOfFaceHistogramBins ( ) const

Returns the number of bins.

Definition at line 10 of file chi_grid_face_histogram.cc.

Field Documentation

◆ face_categories_

std::vector<std::pair<size_t,size_t> > chi_mesh::GridFaceHistogram::face_categories_
private

Definition at line 16 of file chi_grid_face_histogram.h.


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