@@ -896,6 +896,8 @@ get_field_in_impl(const std::string& field_name, const std::string& grid_name) c
896896 " field name: " + field_name + " \n "
897897 " grid name: " + grid_name + " \n " );
898898 }
899+ static Field f;
900+ return f;
899901}
900902
901903Field& AtmosphereProcess::
@@ -917,6 +919,8 @@ get_field_in_impl(const std::string& field_name) const {
917919 " atm proc name: " + this ->name () + " \n "
918920 " field name: " + field_name + " \n " );
919921 }
922+ static Field f;
923+ return f;
920924}
921925
922926Field& AtmosphereProcess::
@@ -932,6 +936,8 @@ get_field_out_impl(const std::string& field_name, const std::string& grid_name)
932936 " field name: " + field_name + " \n "
933937 " grid name: " + grid_name + " \n " );
934938 }
939+ static Field f;
940+ return f;
935941}
936942
937943Field& AtmosphereProcess::
@@ -953,6 +959,8 @@ get_field_out_impl(const std::string& field_name) const {
953959 " atm proc name: " + this ->name () + " \n "
954960 " field name: " + field_name + " \n " );
955961 }
962+ static Field f;
963+ return f;
956964}
957965
958966FieldGroup& AtmosphereProcess::
@@ -968,6 +976,8 @@ get_group_in_impl(const std::string& group_name, const std::string& grid_name) c
968976 " group name: " + group_name + " \n "
969977 " grid name: " + grid_name + " \n " );
970978 }
979+ static FieldGroup g (" " );
980+ return g;
971981}
972982
973983FieldGroup& AtmosphereProcess::
@@ -989,6 +999,8 @@ get_group_in_impl(const std::string& group_name) const {
989999 " atm proc name: " + this ->name () + " \n "
9901000 " group name: " + group_name + " \n " );
9911001 }
1002+ static FieldGroup g (" " );
1003+ return g;
9921004}
9931005
9941006FieldGroup& AtmosphereProcess::
@@ -1004,6 +1016,8 @@ get_group_out_impl(const std::string& group_name, const std::string& grid_name)
10041016 " group name: " + group_name + " \n "
10051017 " grid name: " + grid_name + " \n " );
10061018 }
1019+ static FieldGroup g (" " );
1020+ return g;
10071021}
10081022
10091023FieldGroup& AtmosphereProcess::
@@ -1025,6 +1039,8 @@ get_group_out_impl(const std::string& group_name) const {
10251039 " atm proc name: " + this ->name () + " \n "
10261040 " group name: " + group_name + " \n " );
10271041 }
1042+ static FieldGroup g (" " );
1043+ return g;
10281044}
10291045
10301046Field& AtmosphereProcess::
@@ -1040,6 +1056,8 @@ get_internal_field_impl(const std::string& field_name, const std::string& grid_n
10401056 " field name: " + field_name + " \n "
10411057 " grid name: " + grid_name + " \n " );
10421058 }
1059+ static Field f;
1060+ return f;
10431061}
10441062
10451063Field& AtmosphereProcess::
@@ -1061,6 +1079,8 @@ get_internal_field_impl(const std::string& field_name) const {
10611079 " atm proc name: " + this ->name () + " \n "
10621080 " field name: " + field_name + " \n " );
10631081 }
1082+ static Field f;
1083+ return f;
10641084}
10651085
10661086void AtmosphereProcess
0 commit comments