sim: remove unused AbstractSim::to_static
method
This commit is contained in:
@@ -206,8 +206,9 @@ pub trait AbstractSim: Sync {
|
||||
fn put_material_index(&mut self, at: Index, m: Self::Material);
|
||||
fn step_multiple<S: Stimulus<Self::Real>>(&mut self, num_steps: u32, s: &S);
|
||||
|
||||
/// Take a "snapshot" of the simulation, dropping all material-specific information.
|
||||
fn to_static(&self) -> StaticSim;
|
||||
/// convert to something which is maximally generalizable.
|
||||
/// the result might then be saved to disc for later readback, where having that consistent
|
||||
/// serialization format is more important than perf.
|
||||
fn to_generic(&self) -> GenericSim<Self::Real>;
|
||||
fn use_diagnostics(&mut self, _diag: SyncDiagnostics) {
|
||||
// optional
|
||||
|
Reference in New Issue
Block a user