LCOV - code coverage report
Current view: top level - coupling/interface/impl/SimpleMD - SimpleMDLinkedCellWrapper.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 3 33.3 %
Date: 2026-02-16 14:39:39 Functions: 0 0 -

          Line data    Source code
       1             : #ifndef _MOLECULARDYNAMICS_COUPLING_INTERFACE_SIMPLEMDLINKEDCELLWRAPPER_H_
       2             : #define _MOLECULARDYNAMICS_COUPLING_INTERFACE_SIMPLEMDLINKEDCELLWRAPPER_H_
       3             : 
       4             : #include "simplemd/MolecularDynamicsDefinitions.h"
       5             : 
       6             : namespace coupling {
       7             : namespace interface {
       8             : class SimpleMDLinkedCellWrapper;
       9             : }
      10             : } // namespace coupling
      11             : 
      12             : /** interface to access molecule of SimpleMD by substituting the simplemd::LinedCell for a plain integer cell index.
      13             :  */
      14             : class coupling::interface::SimpleMDLinkedCellWrapper {
      15             : public:
      16          48 :   SimpleMDLinkedCellWrapper() : _cellIndex(0) {}
      17           0 :   SimpleMDLinkedCellWrapper(const tarch::la::Vector<MD_DIM, unsigned int> cellIndex) : _cellIndex(cellIndex) {}
      18             : 
      19           0 :   inline const tarch::la::Vector<MD_DIM, unsigned int> getCellIndex() const { return _cellIndex; }
      20             : 
      21             : private:
      22             :   const tarch::la::Vector<MD_DIM, unsigned int> _cellIndex;
      23             : };
      24             : #endif /* _MOLECULARDYNAMICS_COUPLING_INTERFACE_SIMPLEMDLINKEDCELLWRAPPER_H_ */

Generated by: LCOV version 1.14