Commit 6384e62a authored by DeAn_Wei's avatar DeAn_Wei
Browse files

support to solove Rd curve of a perfect dislocation.

parent 29a1ce81
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -84,10 +84,9 @@ void HandleExtendedDislocation(InArgs_t *inArgs)

        if(burgID1 == table.data[i][colBurgID]){
            points1.push_back(p);
        }else if(burgID2 == table.data[i][colBurgID]){
        }
        if(burgID2 == table.data[i][colBurgID]){
            points2.push_back(p);
        }else{
            continue;
        }
    }

+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ real8 LinearInterpolation(const Curve_t &curve, real8 x, real8 min, real8 max)
    int     i;    

    if(curve.ax.size()<2)
        Fatal("there is no engough data for interpolation");
        Fatal("there is no enough data for interpolation");
    if(curve.ax[0] == curve.ax.back())
        Fatal("the range of line is zero in LineInterpolation");