File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1272,7 +1272,7 @@ void MainWindow::on_Emodulus_valueChanged(double arg1)
1272
1272
{
1273
1273
int pileIdx = ui->pileIndex ->value () - 1 ;
1274
1274
1275
- E[pileIdx] = arg1*10 .0e6 ;
1275
+ E[pileIdx] = arg1*1 .0e6 ;
1276
1276
this ->doAnalysis ();
1277
1277
this ->updateSystemPlot ();
1278
1278
}
@@ -1344,7 +1344,7 @@ void MainWindow::setActiveLayer(int layerIdx)
1344
1344
ui->layerDryWeight ->setValue (mSoilLayers [layerIdx].getLayerUnitWeight ());
1345
1345
ui->layerSaturatedWeight ->setValue (mSoilLayers [layerIdx].getLayerSatUnitWeight ());
1346
1346
ui->layerFrictionAngle ->setValue (mSoilLayers [layerIdx].getLayerFrictionAng ());
1347
- ui->layerShearModulus ->setValue ((mSoilLayers [layerIdx].getLayerStiffness ()/10 .e3 ));
1347
+ ui->layerShearModulus ->setValue ((mSoilLayers [layerIdx].getLayerStiffness ()/1 .e3 ));
1348
1348
1349
1349
inSetupState = false ;
1350
1350
@@ -1468,11 +1468,11 @@ void MainWindow::on_layerShearModulus_valueChanged(double arg1)
1468
1468
int layerIdx = findActiveLayer ();
1469
1469
1470
1470
if (arg1 < 1.0 ) {
1471
- val = 10 .0e3 ;
1471
+ val = 1 .0e3 ;
1472
1472
ui->layerShearModulus ->setValue (1.0 );
1473
1473
}
1474
1474
else {
1475
- val = arg1*10 .0e3 ;
1475
+ val = arg1*1 .0e3 ;
1476
1476
}
1477
1477
if (layerIdx >= 0 ) {
1478
1478
mSoilLayers [layerIdx].setLayerStiffness ( (val) );
You can’t perform that action at this time.
0 commit comments