mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
revert mistakenly commited code
This commit is contained in:
parent
bb43f669e6
commit
ca6d6e8ca7
@ -838,22 +838,13 @@ namespace netgen
|
|||||||
|
|
||||||
void DoArchive (Archive & ar)
|
void DoArchive (Archive & ar)
|
||||||
{
|
{
|
||||||
short _np = np;
|
short _np, _typ;
|
||||||
short _typ = typ;
|
bool _curved;
|
||||||
bool _curved = is_curved;
|
if (ar.Output())
|
||||||
auto _index = index;
|
{ _np = np; _typ = typ; _curved = is_curved; }
|
||||||
|
ar & _np & _typ & index & _curved;
|
||||||
ar & _np & _typ & _index & _curved;
|
|
||||||
|
|
||||||
if (ar.Input())
|
if (ar.Input())
|
||||||
{
|
{ np = _np; typ = ELEMENT_TYPE(_typ); is_curved = _curved; }
|
||||||
new (&this) Element(_np);
|
|
||||||
np = _np;
|
|
||||||
typ = ELEMENT_TYPE(_typ);
|
|
||||||
index = _index;
|
|
||||||
is_curved = _curved;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (size_t i = 0; i < np; i++)
|
for (size_t i = 0; i < np; i++)
|
||||||
ar & pnum[i];
|
ar & pnum[i];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user