Extend Gas restart and interfaces
This commit is contained in:
@@ -68,6 +68,14 @@ int main()
|
||||
if (gas_limits.cfl <= 0.0 || gas_limits.dtcrit <= 0.0) {
|
||||
return 1;
|
||||
}
|
||||
sphlite::GasExtendedSummary extended = sphlite::gas_extended_summary();
|
||||
if (extended.mass <= 0.0 || extended.density_range[1] < extended.density_range[0]) {
|
||||
return 1;
|
||||
}
|
||||
sphlite::GasSourceSummary source = sphlite::gas_source_summary();
|
||||
if (source.mass_source != 0.0 || source.energy_source != 0.0) {
|
||||
return 1;
|
||||
}
|
||||
gas_session.close();
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user