/// <summary> /// 根据标贯值查内摩擦角,输入单参数 /// </summary> /// <param name="_standard">采用的地方标准</param> /// <param name="_soilType">土质类型</param> /// <param name="_numberRow">输入参数</param> /// <returns></returns> public static double CalcuFrictionByNTest(string _standard, string _soilType, double _numberRow) { // 采用湖北省地方标准 if (_standard == "Hubei") { // 土质类型为一般黏性土、老黏性土 if (_soilType == "一般黏性土、老黏性土") { double[] paraCol = HubeiLocalStandardShearingStrength.ShearingStrengthNTestClay.ParaCol; double[] values = HubeiLocalStandardShearingStrength.ShearingStrengthNTestClay.FrictionData; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } // 土质类型为砂土 if (_soilType == "砂土") { double[] paraCol = HubeiLocalStandardShearingStrength.ShearingStrengthNTestSand.ParaCol; double[] values = HubeiLocalStandardShearingStrength.ShearingStrengthNTestSand.FrictionData; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } } // 无法查取时返回空值 return(Constants.NullNumber); }
/// <summary> /// 根据Ps值查粘聚力,输入单参数 /// </summary> /// <param name="_standard">采用的地方标准</param> /// <param name="_soilType">土质类型</param> /// <param name="_numberRow">输入参数</param> /// <returns></returns> public static double CalcuCohesionByCpt(string _standard, string _soilType, double _numberRow) { // 采用湖北省地方标准 if (_standard == "Hubei") { // 土质类型为淤泥质土、一般黏性土、老黏性土 if (_soilType == "淤泥质土、一般黏性土、老黏性土") { double[] paraCol = HubeiLocalStandardShearingStrength.ShearingStrengthCptClay.ParaCol; double[] values = HubeiLocalStandardShearingStrength.ShearingStrengthCptClay.CohesionData; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } // 土质类型为粉土 if (_soilType == "粉土") { double[] paraRow = HubeiLocalStandardShearingStrength.ShearingStrengthCptSilt.ParaCol; double[] values = HubeiLocalStandardShearingStrength.ShearingStrengthCptSilt.CohesionData; return(GeoMath.Interpolation(_numberRow, paraRow, values)); } } // 无法查取时返回空值 return(Constants.NullNumber); }
/// <summary> /// 根据试验指标查承载力,输入单参数 /// </summary> /// <param name="_standard">采用的地方标准</param> /// <param name="_soilType">土质类型</param> /// <param name="_numberRow">输入参数</param> /// <returns></returns> public static double CalcuBearingByRst(string _standard, string _soilType, double _numberRow) { // 采用湖北省地方标准 if (_standard == "Hubei") { // 土质类型为老黏性土 if (_soilType == "老黏性土") { double[] paraCol = HubeiLocalStandardBearingAndModulus.BearingRstOldClay.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingRstOldClay.Data; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } // 土质类型为淤泥、淤泥质土 if (_soilType == "淤泥、淤泥质土") { double[] paraRow = HubeiLocalStandardBearingAndModulus.BearingRstSludge.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingRstSludge.Data; return(GeoMath.Interpolation(_numberRow, paraRow, values)); } } // 无法查取时返回空值 return(Constants.NullNumber); }
/// <summary> /// 根据Ps值查压缩模量,输入单参数 /// </summary> /// <param name="_standard">采用的地方标准</param> /// <param name="_soilType">土质类型</param> /// <param name="_numberRow">输入参数</param> /// <returns></returns> public static double CalcuModulusByCpt(string _standard, string _soilType, double _numberRow) { // 采用湖北省地方标准 if (_standard == "Hubei") { // 土质类型为老黏性土 if (_soilType == "一般黏性土") { double[] paraCol = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptClay.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptClay.ModulusData; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } // 土质类型为老黏性土 if (_soilType == "老黏性土") { double[] paraRow = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptOldClay.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptOldClay.ModulusData; return(GeoMath.Interpolation(_numberRow, paraRow, values)); } // 土质类型为粉土 if (_soilType == "粉土") { double[] paraRow = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptSilt.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptSilt.ModulusData; return(GeoMath.Interpolation(_numberRow, paraRow, values)); } // 土质类型为素填土 if (_soilType == "素填土") { double[] paraRow = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptFill.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptFill.ModulusData; return(GeoMath.Interpolation(_numberRow, paraRow, values)); } // 土质类型为粉细砂 if (_soilType == "粉、细砂土") { double[] paraRow = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptFineSand.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptFineSand.ModulusData; return(GeoMath.Interpolation(_numberRow, paraRow, values)); } // 土质类型为中粗砂 if (_soilType == "中、粗砂土") { double[] paraRow = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptCoarseSand.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusCptCoarseSand.ModulusData; return(GeoMath.Interpolation(_numberRow, paraRow, values)); } } // 无法查取时返回空值 return(Constants.NullNumber); }
/// <summary> /// 根据标贯/动探值查承载力,输入单参数 /// </summary> /// <param name="_standard">采用的地方标准</param> /// <param name="_soilType">土质类型</param> /// <param name="_numberRow">输入参数</param> /// <returns></returns> public static double CalcuBearingByNTest(string _standard, string _soilType, double _numberRow) { // 采用湖北省地方标准 if (_standard == "Hubei") { // 土质类型为碎石土 if (_soilType == "碎石土") { double[] paraCol = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestGravels.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestGravels.BearingData; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } // 土质类型为一般黏性土 if (_soilType == "一般黏性土") { double[] paraCol = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestClay.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestClay.BearingData; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } // 土质类型为老黏性土 if (_soilType == "老黏性土") { double[] paraCol = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestOldClay.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestOldClay.BearingData; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } // 土质类型为杂填土 if (_soilType == "杂填土") { double[] paraCol = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestMixedFill.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestMixedFill.BearingData; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } // 土质类型为粉、细砂 if (_soilType == "粉、细砂") { double[] paraCol = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestFineSand.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestFineSand.BearingData; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } // 土质类型为中、粗砂 if (_soilType == "中、粗砂") { double[] paraCol = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestCoarseSand.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestCoarseSand.BearingData; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } // 土质类型为砾砂 if (_soilType == "砾砂") { double[] paraCol = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestGravellySand.ParaCol; double[] values = HubeiLocalStandardBearingAndModulus.BearingAndModulusNTestGravellySand.BearingData; return(GeoMath.Interpolation(_numberRow, paraCol, values)); } } // 无法查取时返回空值 return(Constants.NullNumber); }