mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
allow cd2names in 2d meshes
This commit is contained in:
parent
9e080ee9e0
commit
6d30186279
@ -1211,9 +1211,9 @@ namespace netgen
|
|||||||
ReadNumberAndName( infile, cd2nrs[i], nextcd2name );
|
ReadNumberAndName( infile, cd2nrs[i], nextcd2name );
|
||||||
cd2names[cd2nrs[i]-1] = new string(nextcd2name);
|
cd2names[cd2nrs[i]-1] = new string(nextcd2name);
|
||||||
}
|
}
|
||||||
if (GetDimension() == 2)
|
if (GetDimension() < 2)
|
||||||
{
|
{
|
||||||
throw NgException("co dim 2 elements not implemented for dimension 2");
|
throw NgException("co dim 2 elements not implemented for dimension < 2");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user