We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ea90f7 commit ce9aedeCopy full SHA for ce9aede
components/eamxx/src/share/atm_process/atmosphere_process.cpp
@@ -709,6 +709,13 @@ void AtmosphereProcess::add_me_as_customer (const Field& f) {
709
710
void AtmosphereProcess::add_internal_field (const Field& f) {
711
m_internal_fields.push_back(f);
712
+#ifdef EAMXX_HAS_PYTHON
713
+ if (m_py_module.has_value()) {
714
+ const auto& grid_name = f.get_header().get_identifier().get_grid_name();
715
+ m_py_fields_dev[grid_name][f.name()] = create_py_field<Device>(f);
716
+ m_py_fields_host[grid_name][f.name()] = create_py_field<Host>(f);
717
+ }
718
+#endif
719
}
720
721
const Field& AtmosphereProcess::
0 commit comments