wareHHOuse / diskpp

DiSk++, a C++ library for Hybrid High-Order (HHO) and Discontinuous Galerkin skeletal methods
Other
14 stars 11 forks source link

Added iterator proxies, first part. Added first DiSk++ tutorial. #69

Closed datafl4sh closed 4 years ago

datafl4sh commented 4 years ago

Added iterator proxies in order to iterate with for (auto& cl : cells(msh)) {} and for (auto& fc : faces(msh)) {}

Added a tutorial to show how to iterate over mesh elements.

npaster commented 4 years ago

This is ok for me. It will be really easier to iterate on faces. Maybe you can add the same thing for the boundary faces.

datafl4sh commented 4 years ago

This is ok for me. It will be really easier to iterate on faces. Maybe you can add the same thing for the boundary faces.

It will arrive soon :) I am reworking the whole iteration stuff and preparing a prototype of an update where we get rid of all the O(logn) lookups.