#include "SHRiMPS/Eikonals/Grid.H" #include "ATOOLS/Org/Message.H" using namespace SHRIMPS; using namespace ATOOLS; Grid::Grid(const double & Ymax) : m_Ymax(Ymax) {} Grid::~Grid() { for (int i=0;i & values) { //msg_Out()< "<=m_Ymax) return ValueAtUpperYEdge(); return Value(y); } bool Grid::FixBins(const double & ff1,const double & ff2) { m_ff1bin = (m_ff1max-ff1)/m_deltaff1; m_ff2bin = (m_ff2max-ff2)/m_deltaff2; if (m_ff1bin>=m_grid.size()-1 || m_ff2bin>=m_grid[0].size()-1) { msg_Error()<<"Error in "<=m_grid.size()-1 || m_ff2bin>=m_grid[0].size()-1 || ybin>=m_grid[0][0].size()-1) { msg_Error()<<"Error in "<