elec-1.00
 All Classes Namespaces Files Functions Variables Macros
Namespaces | Classes | Functions
elec Namespace Reference

Namespaces

 conductor
 
 plot
 

Classes

class  Particle
 
class  Point
 
class  World
 

Functions

std::ostream & operator<< (std::ostream &os, const Particle &p)
 
Particle electron (const Point &pos)
 
Particle proton (const Point &pos)
 
Point E (const Particle &p, const Point &at)
 
template<typename Iter >
Point E (const Iter &begin, const Iter &end, const Point &at)
 
template<typename Iter , typename PartOf >
Point E_ (const Iter &begin, const Iter &end, const Point &at, const PartOf &part_of)
 
template<typename PartIter , typename PosIter , typename OutputIt >
double E (const PartIter &particle_begin, const PartIter &particle_end, const PosIter &position_begin, const PosIter &position_end, OutputIt out)
 
template<typename PartIter , typename PosIter , typename OutputIt , typename PartOf , typename PosOf >
void E_ (const PartIter &particle_begin, const PartIter &particle_end, const PosIter &position_begin, const PosIter &position_end, OutputIt out, const PartOf &part_of, const PosOf &pos_of)
 
double V (const Particle &p, const Point &at)
 
template<typename Iter >
double V (const Iter &begin, const Iter &end, const Point &at)
 
template<typename PartIter , typename PosIter , typename OutputIt >
std::pair< double, double > V (const PartIter &particle_begin, const PartIter &particle_end, const PosIter &position_begin, const PosIter &position_end, OutputIt out)
 
std::ostream & operator<< (std::ostream &os, const Point &p)
 
Point uniform (const Point &A, const Point &B)
 
double d2 (const Point &A, const Point &B)
 
double d (const Point &A, const Point &B)
 
template<typename OutputIt >
void mesh (const Point &A, const Point &B, unsigned int nb_x, unsigned int nb_y, OutputIt it)
 

Function Documentation

double elec::d ( const Point &  A,
const Point &  B 
)
inline
double elec::d2 ( const Point &  A,
const Point &  B 
)
inline
Point elec::E ( const Particle &  p,
const Point &  at 
)
inline
template<typename Iter >
Point elec::E ( const Iter &  begin,
const Iter &  end,
const Point &  at 
)
template<typename PartIter , typename PosIter , typename OutputIt >
double elec::E ( const PartIter &  particle_begin,
const PartIter &  particle_end,
const PosIter &  position_begin,
const PosIter &  position_end,
OutputIt  out 
)
template<typename Iter , typename PartOf >
Point elec::E_ ( const Iter &  begin,
const Iter &  end,
const Point &  at,
const PartOf &  part_of 
)
template<typename PartIter , typename PosIter , typename OutputIt , typename PartOf , typename PosOf >
void elec::E_ ( const PartIter &  particle_begin,
const PartIter &  particle_end,
const PosIter &  position_begin,
const PosIter &  position_end,
OutputIt  out,
const PartOf &  part_of,
const PosOf &  pos_of 
)
Particle elec::electron ( const Point &  pos)
inline
template<typename OutputIt >
void elec::mesh ( const Point &  A,
const Point &  B,
unsigned int  nb_x,
unsigned int  nb_y,
OutputIt  it 
)
std::ostream& elec::operator<< ( std::ostream &  os,
const Particle &  p 
)
inline
std::ostream& elec::operator<< ( std::ostream &  os,
const Point &  p 
)
inline
Particle elec::proton ( const Point &  pos)
inline
Point elec::uniform ( const Point &  A,
const Point &  B 
)
inline
double elec::V ( const Particle &  p,
const Point &  at 
)
inline
template<typename Iter >
double elec::V ( const Iter &  begin,
const Iter &  end,
const Point &  at 
)
template<typename PartIter , typename PosIter , typename OutputIt >
std::pair<double,double> elec::V ( const PartIter &  particle_begin,
const PartIter &  particle_end,
const PosIter &  position_begin,
const PosIter &  position_end,
OutputIt  out 
)