Пример #1
0
 void deriv(const Coords &r, Coords &x, const double t = 0) const {
     x = Coords(r.size(),0.);x[pol_] = r[pol_] * field_->deriv(t);
 }
Пример #2
0
 virtual void operator()(const Coords &r, Coords &x, const double t = 0) const {
     x = Coords(r.size(),0.);x[pol_] = field_->operator()(t);
 }
Пример #3
0
 virtual void operator()(const Coords &r, Coords &x, const double t=0) const {x = Coords(r.size(),0);};
 GeoCoordinate last() const { return coordinates[coordinates.size() - 1]; }
 bool isClosed() const {
   return coordinates.size() > 1 && coordinates[0]==coordinates[coordinates.size() - 1];
 }
Пример #6
0
 inline bool isClosed() 
 { 
     return coordinates.size() > 1 && coordinates[0] == coordinates[coordinates.size() - 1]; 
 }