lib/field/derivative.cc
void derivative::calcDerivative1_x(blitz::Array<real, 3> outputMat) {
    outputMat(blitz::Range(0, F.F.ubound(0) - 1), fullRange, fullRange) = central12n(F.F, 0);
    outputMat *= invDelx;

    outputMat = x_Metric(i)*outputMat(i, j, k);
}
/**
 ********************************************************************************************************************************************
 * \brief   Function to compute the first derivative of the field with respect to x [second order accurate central difference]
 *
 *          This function must be called using an output array whose shape and size should be same as that of the field
 *          
 ********************************************************************************************************************************************
 */
\brief   Function to compute the first derivative of the field with respect to x [second order accurate central difference]
This function must be called using an output array whose shape and size should be same as that of the field
\ brief Function to compute the first derivative of the field with respect to x [ second order accurate central difference ] This function must be called using an output array whose shape and size should be same as that of the field
void derivative::calcDerivative1_x(blitz::Array<real, 3> outputMat) {
    outputMat(blitz::Range(0, F.F.ubound(0) - 1), fullRange, fullRange) = central12n(F.F, 0);
    outputMat *= invDelx;
    outputMat = x_Metric(i)*outputMat(i, j, k);
}
void derivative :: calcDerivative1_x ( blitz :: Array < real , 3 > outputMat ) { outputMat ( blitz :: Range ( 0 , F . F . ubound ( 0 ) - 1 ) , fullRange , fullRange ) = central12n ( F . F , 0 ) ; outputMat *= invDelx ; outputMat = x_Metric ( i ) * outputMat ( i , j , k ) ; }
\brief   Function to compute the first derivative of the field with respect to x [second order accurate central difference]
          This function must be called using an output array whose shape and size should be same as that of the field
\ brief Function to compute the first derivative of the field with respect to x [ second order accurate central difference ] This function must be called using an output array whose shape and size should be same as that of the field