Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::ForceBuffersView Class Reference

#include <gromacs/mdtypes/forcebuffers.h>

Description

A view of the force buffer.

This is used for read and/or write access to the force buffer.

Public Member Functions

 ForceBuffersView (const ArrayRefWithPadding< RVec > &force, const ArrayRefWithPadding< RVec > &forceMtsCombined, const bool useForceMtsCombined)
 Constructor, creates a view to force.
 
 ForceBuffersView (const ForceBuffersView &o)=delete
 Copy constructor deleted to avoid creating non-const from const.
 
 ForceBuffersView (ForceBuffersView &&o)=delete
 Move constructor deleted, but could be implemented.
 
ForceBuffersViewoperator= (const ForceBuffersView &v)=delete
 Copy assignment deleted to avoid creating non-const from const.
 
ForceBuffersViewoperator= (ForceBuffersView &&v)=default
 Move assignment, moves the view.
 
ArrayRef< const RVecforce () const
 Returns a const arrayref to the force buffer without padding.
 
ArrayRef< RVecforce ()
 Returns an arrayref to the force buffer without padding.
 
ArrayRefWithPadding< RVecforceWithPadding ()
 Returns an ArrayRefWithPadding to the force buffer.
 
ArrayRef< const RVecforceMtsCombined () const
 Returns a const arrayref to the MTS force buffer without padding.
 
ArrayRef< RVecforceMtsCombined ()
 Returns an arrayref to the MTS force buffer without padding.
 
ArrayRefWithPadding< RVecforceMtsCombinedWithPadding ()
 Returns an ArrayRefWithPadding to the MTS force buffer.
 

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