forked from 1b-agent/fieldcraft-upstream
engine: show temperature and wall heat in fluid results
Route saved temperature through slices, obstacle surfaces, streamlines and both result views, with availability and model units shared by commands and the UI. Show signed obstacle heat histories per complete face area at the selected frame, leaving unrecorded times uncoloured and retaining the saved slice settings. Part of #157.
This commit is contained in:
1 parent
8f8124dfa1
commit
1e5ff08c5f
13 files changed
+533
-43
No files matched your search
@@ -1130,7 +1130,8 @@ impl ModelApp {
|
||||
let still = key.as_ref().map(|k| PlotKey { frame: None, ..k.clone() });
|
||||
if self.prepared.0 != still {
|
||||
let pick = key.as_ref().map(|k| k.pick).unwrap_or_default();
|
||||
self.prepared = (still, results::prepare(&self.session, &self.display.1, pick).unwrap_or_default());
|
||||
let bodies: Vec<&str> = self.pick.names.iter().map(|n| n.name.as_str()).collect();
|
||||
self.prepared = (still, results::prepare(&self.session, &self.display.1, pick, &bodies).unwrap_or_default());
|
||||
}
|
||||
let frame = key.as_ref().and_then(|k| k.frame);
|
||||
let p = key.as_ref().and_then(|_| results::plot(&self.session, &self.display.1, frame, &self.prepared.1));
|
||||
|
||||
Reference in new issue
Block a user