delete comment of getGeometryInfo after speed up.

This commit is contained in:
sunwen
2023-05-23 16:27:05 +08:00
parent 8a5aa076fd
commit 6b7b961dc6

View File

@@ -34,11 +34,9 @@ Matrix loadSensitivity()
Matrix y0 = linspace(-90,90,fullSens1D.getDataSize());
Matrix x1 = linspace(-90,90,181);
Matrix y1 = linspace(-90,90,181);
//Matrix y = repmat(Matrix::copyFromRawData(y1.getData(), 1),181,1);
double* resultData = new double[y1.getDataSize() * x1.getDataSize()];
Matrix result = Matrix::fromRawData(resultData, y1.getDataSize(), x1.getDataSize());
std::vector<Matrix> resultTemp(181);
//Matrix result = interpn(x0,y0,fullSens2D,x1,y,InterpnMethod::Linear);
#pragma omp parallel for
for(int i=0; i<181; ++i)
{