integrate platform sub-namespace into source code and documentation

this updates function calls to functions that have been moved from
the utils namepsace or the Info class to platform::
This commit is contained in:
Axel Kohlmeyer
2021-10-02 15:50:58 -04:00
parent 195fe81c60
commit 37bfe3d0ce
36 changed files with 207 additions and 473 deletions

View File

@ -4394,9 +4394,9 @@ void lammps_get_os_info(char *buffer, int buf_size)
{
if (buf_size <=0) return;
buffer[0] = buffer[buf_size-1] = '\0';
std::string txt = Info::get_os_info() + "\n";
txt += Info::get_compiler_info();
txt += " with " + Info::get_openmp_info() + "\n";
std::string txt = platform::os_info() + "\n";
txt += platform::compiler_info();
txt += " with " + platform::openmp_standard() + "\n";
strncpy(buffer, txt.c_str(), buf_size-1);
}