Gromacs  2025-dev-20240516-46ce888
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
gmx::anonymous_namespace{qmmmforceprovider.cpp} Namespace Reference

Functions

void writeStringToFile (const std::string &filename, const std::string &str)
 Helper function that dumps string into the file. More...
 

Function Documentation

void gmx::anonymous_namespace{qmmmforceprovider.cpp}::writeStringToFile ( const std::string &  filename,
const std::string &  str 
)

Helper function that dumps string into the file.

Parameters
[in]filenameName of the file to write.
[in]strString to write into the file.
Exceptions
std::bad_allocif out of memory.
FileIOErroron any I/O error.