surface-tension-calculator/lib/models/stc_output.dart

65 lines
1.6 KiB
Dart

class STCOutput {
String negCoordFile;
String posCoordFile;
double syringeWidth;
String radiusCurvRange;
String shapeFactorRange;
String initXCoordRange;
String initAngleRange;
int paramCombinations;
int numProcessors;
double juza;
List<double> bestOutput;
double lowestRMSD;
double surfaceTension;
double bestRadiusOfCurvature;
double bestShapeFactor;
double bestInitialXCoordinate;
double bestInitialAngle;
double elapsedTime;
STCOutput({
required this.negCoordFile,
required this.posCoordFile,
required this.syringeWidth,
required this.radiusCurvRange,
required this.shapeFactorRange,
required this.initXCoordRange,
required this.initAngleRange,
required this.paramCombinations,
required this.numProcessors,
required this.juza,
required this.bestOutput,
required this.lowestRMSD,
required this.surfaceTension,
required this.bestRadiusOfCurvature,
required this.bestShapeFactor,
required this.bestInitialXCoordinate,
required this.bestInitialAngle,
required this.elapsedTime,
});
static STCOutput clearOutput() {
return STCOutput(
negCoordFile: '',
posCoordFile: '',
syringeWidth: 0,
radiusCurvRange: '',
shapeFactorRange: '',
initXCoordRange: '',
initAngleRange: '',
paramCombinations: 0,
numProcessors: 0,
juza: 0,
bestOutput: [],
lowestRMSD: 0,
surfaceTension: 0,
bestRadiusOfCurvature: 0,
bestShapeFactor: 0,
bestInitialXCoordinate: 0,
bestInitialAngle: 0,
elapsedTime: 0,
);
}
}