SimpleFastOpenAtomicVisualiser
Loading...
Searching...
No Matches
Functions
structureUtils.h File Reference
#include <memory>
#include <xyz.h>
#include <config.h>
Include dependency graph for structureUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void readStructureFile (std::filesystem::path path, std::unique_ptr< Structure > &structure, bool blocking=false)
 Read a structure file from the path.
 

Function Documentation

◆ readStructureFile()

void readStructureFile ( std::filesystem::path  path,
std::unique_ptr< Structure > &  structure,
bool  blocking = false 
)

Read a structure file from the path.

Remarks
Will attemp to automatically detect CONFIG-like of [EXT]XYZ files.
Will try both on failure.
Parameters
paththe structure file's path.
structurethe structure unique pointer.
blockingwhether reads are blocking or detached.