Compare commits

...

1 Commits

Author SHA1 Message Date
66c24286a5 plain old java branch 2018-02-17 09:49:19 +03:00
3 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,11 @@
\.orig$ \.orig$
\.orig\..*$ \.orig\..*$
\.chg\..*$ \.chg\..*$
\.rej$ \.rej$
\.conflict\~$ \.conflict\~$
.gradle
.gradle/
build/ build/
.idea/* .idea/*
!gradle-wrapper.jar !gradle-wrapper.jar

View File

@ -1,6 +1,4 @@
apply plugin: 'java' apply plugin: 'java'
//apply plugin: 'c'
apply plugin: 'idea'
apply plugin: 'application' apply plugin: 'application'

View File

@ -19,7 +19,7 @@ public class Trapping {
// .withFieldMap(z, b) // .withFieldMap(z, b)
.withGasDensity(1e19) // per m^3 .withGasDensity(1e19) // per m^3
.withReportFilter(res -> true) .withReportFilter(res -> true)
.simulateAll((int) 1e6); .simulateAll((int) 1e4);
Instant finishTime = Instant.now(); Instant finishTime = Instant.now();
System.out.printf("%nFinished at %s%n", finishTime.toString()); System.out.printf("%nFinished at %s%n", finishTime.toString());
System.out.printf("Calculation took %s%n", Duration.between(startTime, finishTime).toString()); System.out.printf("Calculation took %s%n", Duration.between(startTime, finishTime).toString());