delete comment of getGeometryInfo after speed up.
This commit is contained in:
@@ -34,11 +34,9 @@ Matrix loadSensitivity()
|
|||||||
Matrix y0 = linspace(-90,90,fullSens1D.getDataSize());
|
Matrix y0 = linspace(-90,90,fullSens1D.getDataSize());
|
||||||
Matrix x1 = linspace(-90,90,181);
|
Matrix x1 = linspace(-90,90,181);
|
||||||
Matrix y1 = 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()];
|
double* resultData = new double[y1.getDataSize() * x1.getDataSize()];
|
||||||
Matrix result = Matrix::fromRawData(resultData, y1.getDataSize(), x1.getDataSize());
|
Matrix result = Matrix::fromRawData(resultData, y1.getDataSize(), x1.getDataSize());
|
||||||
std::vector<Matrix> resultTemp(181);
|
std::vector<Matrix> resultTemp(181);
|
||||||
//Matrix result = interpn(x0,y0,fullSens2D,x1,y,InterpnMethod::Linear);
|
|
||||||
#pragma omp parallel for
|
#pragma omp parallel for
|
||||||
for(int i=0; i<181; ++i)
|
for(int i=0; i<181; ++i)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user