1 #ifndef QNANO_NEW_ABSTRACT_SOLVER_DEFINED_H 2 #define QNANO_NEW_ABSTRACT_SOLVER_DEFINED_H 5 #include "tools/Communicator.h" 6 #include "tools/Distribute_Block_Local.h" 10 virtual void setup()=0;
11 virtual void solve()=0;
14 virtual bool should_print()
const=0;
25 virtual double get_eigenvalue(
size_t i)=0;
26 virtual void get_EV_local_part(
size_t i, std::complex<double> *ptr)=0;
Definition: Abstract_Solver.h:8
Definition: Communicator.h:19
Definition: Distribute_Block_Local.h:15
virtual Distribute_Block_Local * new_Distribute_Block_Local(size_t totalsize) const
Allocate new structure to parallelize data of size 'totalsize'. May be a sequential Distrubute_Block_...
Definition: Abstract_Solver.h:18