std::cerr<<__FILE__<<":"<<__LINE__<<" if you do not provide ConstantFields in getMatrix, the system should not contain any constant field, while"<<Sys_eqs::num_cfields<<"\n";
#endif
std::unordered_map<longint,float>cols;
// iterate all the grid points
while(it.isNext())
{
constConstFieldfld[Sys_eqs::num_cfields];
b.get(row_b)=num;
getMatrix(g,fld);
++row_b;
++it;
}
}
/*! \brief produce the Matrix
...
...
@@ -90,31 +181,13 @@ public:
* \tparam Syst_eq System of equations, or a single equation