1 #ifndef QNANO_NEW_SAMPLE_DEFINED_H_ 2 #define QNANO_NEW_SAMPLE_DEFINED_H_ 4 #include "structure/Atom_List.h" 5 #include "structure/Neighbor_List.h" 6 #include "tools/Parameter_Map.h" 7 #include "tightbinding/TB_Parameter_List.h" 20 inline size_t size()
const{
return atlist.size(); }
25 void print_atoms(
const std::string &filename,
const std::vector<std::string> &materials = std::vector<std::string>() )
const;
26 void print_atoms(
const std::string &filename,
const std::string &material )
const{
27 print_atoms(filename, std::vector<std::string>(1,material) );
31 void read(
const std::string &filename,
const std::string &neighborfile=
"",
const std::string &resources_dir=
"");
35 Sample(
const std::string &positionfile,
const std::string &neighborfile=
"",
const std::string &resources_dir=
"");
Definition: Parameter_Map.h:12
void read_atoms(const std::string &filename)
read atoms from position file
Definition: Sample.cc:7
Neighbor_List nn_list
List of neighbors:
Definition: Sample.h:14
Definition: Atom_List.h:9
Definition: Neighbor_List.h:12
Definition: TB_Parameter_List.h:8
void print_atoms(const std::string &filename, const std::vector< std::string > &materials=std::vector< std::string >()) const
print position file
Definition: Sample.cc:11
Atom_List atlist
List of atoms:
Definition: Sample.h:12
Neighbor_List nn_list_unrelaxed
List of neighbors with distances corresponding to an equlibrium lattice.
Definition: Sample.h:16
TB_Parameter_List parlist
tight-binding Parameter list, used to obtain equilibrium lattice vectors
Definition: Sample.h:18