Gromacs  2025.0-dev-20241009-5c23d5f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
gmx::BoundingBox::Corner Struct Reference

#include <gromacs/nbnxm/boundingbox.h>

Description

Corner for the bounding box, padded with one element to enable 4-wide SIMD operations.

Public Member Functions

const float * ptr () const
 Returns a pointer for SIMD loading of a Corner object.
 
float * ptr ()
 Returns a pointer for SIMD storing of a Corner object.
 

Static Public Member Functions

static Corner min (const Corner &c1, const Corner &c2)
 Returns a corner with the minimum coordinates along each dimension.
 
static Corner max (const Corner &c1, const Corner &c2)
 Returns a corner with the maximum coordinates along each dimension.
 

Public Attributes

float x
 x coordinate
 
float y
 y coordinate
 
float z
 z coordinate
 
float padding
 padding, unused, but should be set to avoid operations on uninitialized data
 

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