QNANO
Public Member Functions | Public Attributes | List of all members
Constant_Potential Class Reference
Inheritance diagram for Constant_Potential:
Inheritance graph
[legend]
Collaboration diagram for Constant_Potential:
Collaboration graph
[legend]

Public Member Functions

void generate (size_t size_)
 
void generate (const Atom_List &atlist)
 
 Constant_Potential (double strength_=0, size_t size_=0)
 
- Public Member Functions inherited from Generate_Potential
virtual void generate (const std::string &positionfile)
 
- Public Member Functions inherited from Potential
void read (const std::string &filename)
 
void print (const std::string &filename) const
 
void check_size (int compare_size) const
 
void read_check (const std::string &filename, int compare_size)
 
void add (const Potential &other)
 
 Potential (const std::string &filename)
 
 Potential (const std::string &filename, int compare_size)
 
- Public Member Functions inherited from List_Class< double >
double & operator[] (size_t i)
 
const double & operator[] (size_t i) const
 
size_t size () const
 
virtual void resize (size_t i)
 
virtual void reserve (size_t i)
 
virtual void push_back (const double &value)
 
virtual void clear ()
 
List_Class< double > & operator= (const std::vector< double > &Tvec)
 
int find (doubleelement) const
 
int find_check (doubleelement) const
 
void add_if_new (doubleelement)
 
void add_if_new_check (doubleelement)
 

Public Attributes

double strength
 
- Public Attributes inherited from List_Class< double >
std::vector< double > list
 

The documentation for this class was generated from the following files: