Skip to content
Snippets Groups Projects
Commit 44999907 authored by Moritz Hanke's avatar Moritz Hanke
Browse files

removes some checks in couple config query routines

parent 7137a415
No related branches found
No related tags found
No related merge requests found
......@@ -1174,12 +1174,6 @@ char const * yac_couple_config_get_field_timestep(
couple_config->components[component_idx].fields +
field_idx;
YAC_ASSERT_F(
field->timestep,
"ERROR(yac_couple_config_get_field_timestep): "
"no valid timestep defined (component: \"%s\" field \"%s\")",
couple_config->components[component_idx].name, field->name);
return field->timestep;
}
......@@ -1385,13 +1379,6 @@ size_t yac_couple_config_get_field_collection_size(
couple_config->components[component_idx].fields +
field_idx;
YAC_ASSERT_F(
field->collection_size != SIZE_MAX,
"ERROR(yac_couple_config_get_field_collection_size): "
"no valid collection size defined "
"(component: \"%s\" grid: \"%s\" field \"%s\")",
couple_config->components[component_idx].name, grid_name, field->name);
return field->collection_size;
}
......@@ -1543,14 +1530,6 @@ char const * yac_couple_config_get_target_timestep(
couple_config->components[tcouple->target.component_idx].
fields[tcouple->target.field_idx].timestep;
YAC_ASSERT_F(
timestep,
"ERROR(yac_couple_config_get_target_timestep): "
"no valid timestep defined (component: \"%s\" field \"%s\")",
couple_config->components[tcouple->target.component_idx].name,
couple_config->components[tcouple->target.component_idx].
fields[tcouple->target.field_idx].name);
return timestep;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment