GemaMesh
The GeMA Mesh Plugin
Loading...
Searching...
No Matches
GmpCellBoundary Class Reference

A simple concrete implementation of the GmCellBoundary interface. More...

#include <gmpCellBoundary.h>

Inheritance diagram for GmpCellBoundary:
Collaboration diagram for GmpCellBoundary:

Public Member Functions

 GmpCellBoundary (QString id, GmCellBoundaryType type, GmCellMesh *mesh, int numCells, int *cells, int *borders)
 Constructor. Receives as parameters the boundary type and the data vectors, taking ownership of them.
 
virtual ~GmpCellBoundary ()
 Destructor.
 
virtual QString id () const
 
virtual GmCellBoundaryType type () const
 
virtual GmCellMeshmesh () const
 
virtual int numCells () const
 
virtual GmCellcell (int i) const
 
virtual int cellBorder (int i) const
 
virtual bool setBoundaryData (int numCells, int *cellList, int *borderList)
 
virtual size_t usedMemory () const
 
- Public Member Functions inherited from GmCellBoundary

Private Attributes

QString _id
 The group name.
 
GmCellBoundaryType _type
 The type of border.
 
int _numCells
 The number of cells stored in this group.
 
int * _cells
 The cell vector.
 
int * _borders
 The border (edge or face) vector.
 
GmCellMesh_mesh
 The mesh that we belong to.
 

Friends

template<template< class > class Vector>
class GmpCellDataDump
 

Detailed Description

A simple concrete implementation of the GmCellBoundary interface.

Member Function Documentation

◆ cell()

virtual GmCell * GmpCellBoundary::cell ( int i) const
inlinevirtual

Implements GmCellBoundary.

◆ cellBorder()

virtual int GmpCellBoundary::cellBorder ( int i) const
inlinevirtual

Implements GmCellBoundary.

◆ id()

virtual QString GmpCellBoundary::id ( ) const
inlinevirtual

Implements GmCellBoundary.

◆ mesh()

virtual GmCellMesh * GmpCellBoundary::mesh ( ) const
inlinevirtual

Implements GmCellBoundary.

◆ numCells()

virtual int GmpCellBoundary::numCells ( ) const
inlinevirtual

Implements GmCellBoundary.

◆ setBoundaryData()

bool GmpCellBoundary::setBoundaryData ( int numCells,
int * cellList,
int * borderList )
virtual

Reimplemented from GmCellBoundary.

◆ type()

virtual GmCellBoundaryType GmpCellBoundary::type ( ) const
inlinevirtual

Implements GmCellBoundary.

◆ usedMemory()

virtual size_t GmpCellBoundary::usedMemory ( ) const
inlinevirtual

Implements GmCellBoundary.


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