STORMM Source Documentation
Loading...
Searching...
No Matches
stormm::review::BackgroundMeshReader< Tdata > Struct Template Reference

The templated, writeable abstract of a BackgroundMesh object. More...

#include <background_mesh.h>

Collaboration diagram for stormm::review::BackgroundMeshReader< Tdata >:

Public Member Functions

 BackgroundMeshReader (const MeshParamKit &dims_in, GridDetail kind_in, NonbondedPotential field_in, const MeshRulerKit &rulers, const Tdata *coeffs_in, double coeff_scale_in, double probe_radius_in, double well_depth_in, double occ_cost_in, const MeshBasicsKit &mbss_in)
 The constructor takes arguments for all member variables.
 
 BackgroundMeshReader (const BackgroundMeshReader< Tdata > &original)=default
 The default copy and move constructors will be valid for this object. Const members negate the use of default copy and move assignment operators.
 
 BackgroundMeshReader (BackgroundMeshReader< Tdata > &&original)=default
 

Public Attributes

const MeshParamKit dims
 Dimensions of the mesh. These are pre-established.
 
const GridDetail kind
 The type of mesh, also pre-established.
 
const NonbondedPotential field
 The field described by the mesh, also pre-established.
 
const MeshRulerKit rlrs
 Coordinate series for tick marks along each mesh axis.
 
const Tdata * coeffs
 
const double coeff_scale
 
const float coeff_scale_f
 Single-precision variant of coeff_scale.
 
const double probe_radius
 
const double well_depth
 
const double occ_cost
 Energetic penalty of an occlusion interaction.
 
const MeshBasicsKit mbss
 

Detailed Description

template<typename Tdata>
struct stormm::review::BackgroundMeshReader< Tdata >

The templated, writeable abstract of a BackgroundMesh object.

Constructor & Destructor Documentation

◆ BackgroundMeshReader()

template<typename Tdata>
stormm::structure::BackgroundMeshReader< Tdata >::BackgroundMeshReader ( const BackgroundMeshReader< Tdata > & original)
default

The default copy and move constructors will be valid for this object. Const members negate the use of default copy and move assignment operators.

Parameters
originalThe object to copy or move

Member Data Documentation

◆ coeff_scale

template<typename Tdata>
const double stormm::structure::BackgroundMeshReader< Tdata >::coeff_scale

Scaling factor to take mesh coefficients from internal units (kcal/mol, kcal/mol-A, kcal/mol-A2, and kcal/mol-A3, all based on the same factor) into a fixed-precision representation. This conversion is only performed when accumulating meshes. Meshes used in actual energy calculations will be assumed to be of real scalar types (float, double).

◆ coeffs

template<typename Tdata>
const Tdata* stormm::structure::BackgroundMeshReader< Tdata >::coeffs

Coefficients for all mesh elements. In an OCCLUSION mesh, these are the bit-packed masks for each cubelet, 64 cubelets making one element. In a NONBONDED_FIELD or NONBONDED_ATOMIC mesh, the coefficients are tricubic splines for each element.

◆ mbss

template<typename Tdata>
const MeshBasicsKit stormm::structure::BackgroundMeshReader< Tdata >::mbss

Collection of pointers for essential elements about the molecular system underlying the mesh, including a neighbor list for each cell (if relevant) and a mask of frozen atoms

◆ probe_radius

template<typename Tdata>
const double stormm::structure::BackgroundMeshReader< Tdata >::probe_radius

The probe radius to use when mapping a Lennard-Jones mesh with geometric combining rules, or when mapping a clash potential to the mesh

◆ well_depth

template<typename Tdata>
const double stormm::structure::BackgroundMeshReader< Tdata >::well_depth

The Lennard-Jones well depth for a test particle used to map a Lennard-Jones potential of any mixing rules to the mesh.


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