ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
stru_frame_io.cpp File Reference

Implementation of the cumulative STRU frame extraction helpers. More...

#include "stru_frame_io.h"
#include <cstdlib>
#include <fstream>
#include <string>
Include dependency graph for stru_frame_io.cpp:

Namespaces

namespace  stru_frame_io

Functions

bool stru_frame_io::extract_last_frame (const std::string &cumulative_path, const std::string &frame_path)
 Extract the last MD frame from a fixed-name cumulative STRU file.
bool stru_frame_io::extract_frame_by_step (const std::string &cumulative_path, int step, const std::string &frame_path)
 Extract the MD frame whose marker matches a specific one-based step.
int stru_frame_io::last_frame_step (const std::string &cumulative_path)
 Read the one-based step number of the last frame of a cumulative STRU.

Detailed Description

Implementation of the cumulative STRU frame extraction helpers.