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