ug4
lg_for_each.h File Reference

Go to the source code of this file.

Macros

#define lg_end_for   }
 
#define lg_for_each(_feType, _feVar, _feCon)
 
#define lg_for_each_const(_feType, _feVar, _feCon)
 
#define lg_for_each_in_lvl(_feType, _feVar, _feCon, _feLvl)
 
#define lg_for_each_in_lvl_template(_feType, _feVar, _feCon, _feLvl)
 
#define lg_for_each_in_subset(_feType, _feVar, _feCon, _feSubset)
 
#define lg_for_each_in_subset_lvl(_feType, _feVar, _feCon, _feSubset, _feLvl)
 
#define lg_for_each_in_subset_lvl_template(_feType, _feVar, _feCon, _feSubset, _feLvl)
 
#define lg_for_each_in_subset_template(_feType, _feVar, _feCon, _feSubset)
 
#define lg_for_each_template(_feType, _feVar, _feCon)
 
#define lg_for_each_vertex_in_elem(_feVar, _feElem)
 

Macro Definition Documentation

◆ lg_end_for

#define lg_end_for   }

◆ lg_for_each

#define lg_for_each (   _feType,
  _feVar,
  _feCon 
)
Value:
for(Grid::traits<_feType>::iterator _feI = _feCon.begin<_feType>();\
_feI != _feCon.end<_feType>(); ++_feI){\
_feType* _feVar = *_feI;

◆ lg_for_each_const

#define lg_for_each_const (   _feType,
  _feVar,
  _feCon 
)
Value:
for(Grid::traits<_feType>::const_iterator _feI = _feCon.begin<_feType>();\
_feI != _feCon.end<_feType>(); ++_feI){\
_feType* _feVar = *_feI;

◆ lg_for_each_in_lvl

#define lg_for_each_in_lvl (   _feType,
  _feVar,
  _feCon,
  _feLvl 
)
Value:
for(Grid::traits<_feType>::iterator _feI = _feCon.begin<_feType>(_feLvl);\
_feI != _feCon.end<_feType>(_feLvl); ++_feI){\
_feType* _feVar = *_feI;

◆ lg_for_each_in_lvl_template

#define lg_for_each_in_lvl_template (   _feType,
  _feVar,
  _feCon,
  _feLvl 
)
Value:
for(typename Grid::traits<_feType>::iterator _feI = _feCon.begin<_feType>(_feLvl);\
_feI != _feCon.end<_feType>(_feLvl); ++_feI){\
_feType* _feVar = *_feI;

◆ lg_for_each_in_subset

#define lg_for_each_in_subset (   _feType,
  _feVar,
  _feCon,
  _feSubset 
)
Value:
for(Grid::traits<_feType>::iterator _feI = _feCon.begin<_feType>(_feSubset);\
_feI != _feCon.end<_feType>(_feSubset); ++_feI){\
_feType* _feVar = *_feI;

◆ lg_for_each_in_subset_lvl

#define lg_for_each_in_subset_lvl (   _feType,
  _feVar,
  _feCon,
  _feSubset,
  _feLvl 
)
Value:
for(Grid::traits<_feType>::iterator _feI = _feCon.begin<_feType>(_feSubset, _feLvl);\
_feI != _feCon.end<_feType>(_feSubset, _feLvl); ++_feI){\
_feType* _feVar = *_feI;

◆ lg_for_each_in_subset_lvl_template

#define lg_for_each_in_subset_lvl_template (   _feType,
  _feVar,
  _feCon,
  _feSubset,
  _feLvl 
)
Value:
for(typename Grid::traits<_feType>::iterator _feI = _feCon.begin<_feType>(_feSubset, _feLvl);\
_feI != _feCon.end<_feType>(_feSubset, _feLvl); ++_feI){\
_feType* _feVar = *_feI;

◆ lg_for_each_in_subset_template

#define lg_for_each_in_subset_template (   _feType,
  _feVar,
  _feCon,
  _feSubset 
)
Value:
for(typename Grid::traits<_feType>::iterator _feI = _feCon.begin<_feType>(_feSubset);\
_feI != _feCon.end<_feType>(_feSubset); ++_feI){\
_feType* _feVar = *_feI;

◆ lg_for_each_template

#define lg_for_each_template (   _feType,
  _feVar,
  _feCon 
)
Value:
for(typename Grid::traits<_feType>::iterator _feI = _feCon.begin<_feType>();\
_feI != _feCon.end<_feType>(); ++_feI){\
_feType* _feVar = *_feI;

◆ lg_for_each_vertex_in_elem

#define lg_for_each_vertex_in_elem (   _feVar,
  _feElem 
)
Value:
for(size_t _feI = 0; _feI < _feElem->num_vertices(); ++_feI){\
Vertex* _feVar = _feElem->vertex(_feI);