std::cerr<<"Error: "<<__FILE__<<":"<<__LINE__<<" the row does not map to any position"<<"\n";
returnke;
}
/* \brief calculate the mapping grid size with padding
*
* \param gs original grid size
...
...
@@ -165,7 +252,10 @@ private:
for(size_ti=0;i<nz_rows.size();i++)
{
if(nz_rows.get(i)==false)
std::cerr<<"Error: "<<__FILE__<<":"<<__LINE__<<" Ill posed matrix row "<<i<<" is not filled\n";
{
key_and_eqke=from_row_to_key(i);
std::cerr<<"Error: "<<__FILE__<<":"<<__LINE__<<" Ill posed matrix row "<<i<<" is not filled, position "<<ke.key.to_string()<<" equation: "<<ke.eq<<"\n";
}
}
// all the colums must have a non zero element
...
...
@@ -176,21 +266,42 @@ private:
}
}
/* \brief Convert discrete ghost into continous ghost
public:
/*! \brief set the staggered position for each property
*
* \param Ghost
* \param vector containing the staggered position for each property