15 #ifndef SORTFIELD_INCLUDED
16 #define SORTFIELD_INCLUDED
38 virtual void sort(
int, std::valarray<double>&) = 0;
39 virtual void sort(
int, std::valarray<double>&, std::valarray<Field>&) = 0;
40 virtual int converged(
double v,
double v_thrs) = 0;
49 ProductCreator p = Factory::Find(subtype);
51 return p ? (*p)() : 0;
virtual void sort(int, std::valarray< double > &)=0
virtual int converged(double v, double v_thrs)=0
Base class for sorting pair instances (value,field).
std::string IdentifierType
Factory template class.