1 #ifndef QNANO_NEW_POTENTIAL_FROM_GTE_DEFINED_H 2 #define QNANO_NEW_POTENTIAL_FROM_GTE_DEFINED_H 4 #include "tools/Tensor2.h" 5 #include "tools/List_Class.h" 6 #include "tools/Parameter_Map.h" 7 #include "structure/Generate_Potential.h" 12 double voltage, zcoord;
14 void read(
const std::string &filename);
18 Tensor2d::operator=(other);
19 Lx=other.Lx; Ly=other.Ly;
20 voltage=other.voltage; zcoord=other.zcoord;
28 Single_GTE(
const std::string &filename,
double voltage_=0.,
double z_=0.)
29 : Lx(1.), Ly(1.), voltage(voltage_), zcoord(z_){
36 std::vector<Single_GTE> gates;
38 void add_gate(
const std::string &filename,
double voltage,
double z){
39 gates.push_back(
Single_GTE(filename, voltage, z));
44 virtual void generate(
const Atom_List &atlist);
Definition: Parameter_Map.h:12
Definition: Atom_List.h:9
Definition: Potential_from_GTE.h:34
Class to store a rank-2 (complex) tensor, i.e., a matrix:
Definition: Tensor2.h:10
Potential generator: interface with "generate(positionfile)" function.
Definition: Generate_Potential.h:9
Definition: Potential_from_GTE.h:9