tmp
This commit is contained in:
parent
ef6ab8caa7
commit
1ddfdf227f
@ -574,7 +574,7 @@ void gctl::mesh_io::select_elements(std::string dat_name, mesh_data_type_e dtype
|
|||||||
if (!selected_groups_.empty()) selected_groups_.clear();
|
if (!selected_groups_.empty()) selected_groups_.clear();
|
||||||
|
|
||||||
int d_id = if_saved_data(dat_name, dtype);
|
int d_id = if_saved_data(dat_name, dtype);
|
||||||
if (d_id == DEFAULT_INVALID_TAG) throw std::runtime_error("[gctl::mesh_io::select_elements] Data not found.");
|
if (d_id == -1) throw std::runtime_error("[gctl::mesh_io::select_elements] Data not found.");
|
||||||
|
|
||||||
if (dtype == ElemData)
|
if (dtype == ElemData)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user