dbcsr icon indicating copy to clipboard operation
dbcsr copied to clipboard

OO Refactoring

Open alazzaro opened this issue 5 years ago • 0 comments

This is a placeholder for future code modifications to OO:

  • [ ] use member functions instead of separation between types and functions for proper data encapsulation
  • [ ] (Suggested by @dev-zero ) besides iterators for double-loops, you could also think of implementing functional style map/reduce functions taking as arguments function classes (similar to pre-C++11 function objects). This would permit efficient implementation on per-value operations without exhibiting the underlying storage structure at the expense of one function call per value (plus a bit more for the abstract class implementation)

alazzaro avatar Apr 30 '19 07:04 alazzaro