Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SortField Class Referenceabstract

Base class for sorting pair instances (value,field). More...

#include <sortField.h>

Inheritance diagram for SortField:
SortField_AbsHigh SortField_AbsLow

Public Member Functions

virtual ~SortField ()
 
virtual void sort (int, std::valarray< double > &)=0
 
virtual void sort (int, std::valarray< double > &, std::valarray< Field > &)=0
 
virtual int converged (double v, double v_thrs)=0
 

Detailed Description

Base class for sorting pair instances (value,field).

This class is used to sort the paired instances of (value,field) to some specific order. Mainly assumed to be used in eigenvalue solver. [28 Dec 2011 H.Matsufuru]

Definition at line 34 of file sortField.h.

Constructor & Destructor Documentation

virtual SortField::~SortField ( )
inlinevirtual

Definition at line 37 of file sortField.h.

Member Function Documentation

virtual int SortField::converged ( double  v,
double  v_thrs 
)
pure virtual

Implemented in SortField_AbsHigh, and SortField_AbsLow.

virtual void SortField::sort ( int  ,
std::valarray< double > &   
)
pure virtual

Implemented in SortField_AbsHigh, and SortField_AbsLow.

virtual void SortField::sort ( int  ,
std::valarray< double > &  ,
std::valarray< Field > &   
)
pure virtual

Implemented in SortField_AbsHigh, and SortField_AbsLow.


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