执行效率太低,求大神优化迭代语句
public void JXCC()
{
Double a = 0.2;
int j = 0;
for (; a < t; a += t / 100)
{
Double c = 0.1;
for (double i =0 ;i<1000;++i )
{
Double MPm = Pm * Convert.ToDouble(textBoxX8.Text);
Double MKmat = Convert.ToDouble(textBoxX7.Text) / Convert.ToDouble(textBoxX11.Text);
a = a * Convert.ToDouble(textBoxX13.Text);//步长
c = c * Convert.ToDouble(textBoxX13.Text)+0.1;//步长
Double W = Convert.ToDouble(textBoxX1.Text);
Double fi = Convert.ToDouble(textBoxX14.Text);
Double Xa = URS31_2_1.Xa(c, a, Ri);
Double Mt = URS31_2_1.Mt(Xa);
Double Ms = URS31_2_1.Ms(a, t, Mt, Xa);
Double arf = URS31_P.arf(a, c, t);
Double Qpref = URS31_P.Qref(Pm, arf);
Double Lpr = Math.Abs(URS31_2_1.Lpr(Qpref, Qys));
Double ffi = URS31_P.ffi(a, c, fi);
Double jt = URS31_P.jt(c, Rh, fi);
Double fw = URS31_P.fw(Rh, W, c, a, t);
Double g