mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
pickling 0D-elements
This commit is contained in:
parent
5e9d22e496
commit
f1e06f0a6d
@ -1839,6 +1839,7 @@ namespace netgen
|
||||
archive & surfelements;
|
||||
archive & volelements;
|
||||
archive & segments;
|
||||
archive & pointelements;
|
||||
archive & facedecoding;
|
||||
archive & materials & bcnames & cd2names & cd3names;
|
||||
archive & numvertices;
|
||||
|
@ -145,6 +145,10 @@ namespace netgen
|
||||
|
||||
|
||||
|
||||
void Element0d :: DoArchive (Archive & ar)
|
||||
{
|
||||
ar & pnum & index;
|
||||
}
|
||||
|
||||
Segment :: Segment()
|
||||
: is_curved(false)
|
||||
|
@ -1164,6 +1164,7 @@ namespace netgen
|
||||
Element0d () = default;
|
||||
Element0d (PointIndex _pnum, int _index)
|
||||
: pnum(_pnum), index(_index) { ; }
|
||||
void DoArchive (Archive & ar);
|
||||
};
|
||||
|
||||
ostream & operator<<(ostream & s, const Element0d & el);
|
||||
|
Loading…
Reference in New Issue
Block a user