13693261870
2024-09-29 ca8d3861b4e9a28beead77e81ecfa23d15d5eb5f
src/main/java/com/se/simu/domain/dto/ConfigDto.java
@@ -1,6 +1,7 @@
package com.se.simu.domain.dto;
import com.se.simu.config.PropertiesConfig;
import com.se.simu.helper.WebHelper;
import java.text.SimpleDateFormat;
import java.util.Calendar;
@@ -97,6 +98,7 @@
        this.drainage_outfile = dirName + ".h5";
        this.sww_outfile = dirName + ".sww";
        this.flow_units = config.getFlowUnits();
        this.threads = WebHelper.getCpuCores();
        Calendar calendar = Calendar.getInstance();
        calendar.setTime(new Date());