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

Public Member Functions

virtual void setup (Parameter_Map &param_map)
 
virtual void generate (const Atom_List &atlist)
 
 Parabolic_Potential_2d (double strength_, const Vec3d &direction_, const Vec3d &center_=Vec3d(), double truncate_radius_=-1., bool set_truncate_offset_zero_=false)
 
 Parabolic_Potential_2d (Parameter_Map &param_map)
 
- 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
 
Vec3d direction
 
Vec3d center
 
double truncate_radius
 
bool set_truncate_offset_zero
 
- Public Attributes inherited from List_Class< double >
std::vector< double > list
 

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