CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
import.cc File Reference
#include <cstring>
#include <tuple>
#include "casm/app/casm_functions.hh"
#include "casm/crystallography/jsonStruc.hh"
#include "casm/clex/ConfigMapping.hh"
#include "casm/clex/PrimClex.hh"
#include "casm/casm_io/VaspIO.hh"
#include "casm/completer/Handlers.hh"

Go to the source code of this file.

Namespaces

 CASM
 Main CASM namespace.
 
 CASM::Import_impl
 
 CASM::Completer
 

Typedefs

using CASM::Import_impl::Data = std::tuple< fs::path, jsonParser, std::string, std::pair< bool, double > >
 

Enumerations

enum  CASM::Import_impl::DataType { CASM::Import_impl::path = 0, CASM::Import_impl::relaxjson = 1, CASM::Import_impl::contcar = 2, CASM::Import_impl::energy = 3 }
 

Functions

bool CASM::_has_existing_files (fs::path p)
 
fs::path CASM::_calc_properties_path (const PrimClex &primclex, fs::path pos_path)
 Return path to properties.calc.json that will be imported checking a couple possible locations relative to pos_path. More...
 
void CASM::_cp_files (const fs::path &pos_path, const Configuration &config, bool copy_additional_files, Log &log)
 Copy files in the same directory as properties.calc.json into the traning_data directory for a particular configuration. More...
 
void CASM::_recurs_cp_files (const fs::path &from_dir, const fs::path &to_dir, Log &log)
 
int CASM::import_command (const CommandArgs &args)