Gromacs  2026.0-dev-20241121-c76fa1e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::BiasWriter Class Reference

#include <gromacs/applied_forces/awh/biaswriter.h>

Description

Class organizing the output data storing and writing of an AWH bias.

Public Member Functions

 BiasWriter (const Bias &bias)
 Constructor. More...
 
int numBlocks () const
 Returns the number of data blocks. More...
 
int writeToEnergySubblocks (const Bias &bias, t_enxsubblock *subblock)
 Collect AWH bias data in blocks and write to energy subblocks. More...
 

Constructor & Destructor Documentation

gmx::BiasWriter::BiasWriter ( const Bias bias)

Constructor.

Parameters
[in]biasThe AWH bias.

Member Function Documentation

int gmx::BiasWriter::numBlocks ( ) const
inline

Returns the number of data blocks.

Returns
the number of data blocks.
int gmx::BiasWriter::writeToEnergySubblocks ( const Bias bias,
t_enxsubblock *  subblock 
)

Collect AWH bias data in blocks and write to energy subblocks.

Parameters
[in]biasThe AWH Bias.
[in,out]subblockEnergy subblocks to write to.
Returns
the number of blocks written.

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