mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
autoptr and parallel
This commit is contained in:
parent
3b21241daf
commit
f96adac6fe
@ -10,6 +10,7 @@
|
|||||||
namespace netgen
|
namespace netgen
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/*
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class AutoPtr
|
class AutoPtr
|
||||||
{
|
{
|
||||||
@ -30,7 +31,7 @@ private:
|
|||||||
AutoPtr (AutoPtr &) { ; }
|
AutoPtr (AutoPtr &) { ; }
|
||||||
AutoPtr & operator= (AutoPtr &) { ; }
|
AutoPtr & operator= (AutoPtr &) { ; }
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -1645,8 +1645,8 @@ namespace netgen
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Array< AutoPtr < IntegrationPointData > > ipdtet;
|
Array< shared_ptr < IntegrationPointData > > ipdtet;
|
||||||
Array< AutoPtr < IntegrationPointData > > ipdtet10;
|
Array< shared_ptr < IntegrationPointData > > ipdtet10;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -2235,8 +2235,8 @@ namespace netgen
|
|||||||
|
|
||||||
switch (GetType())
|
switch (GetType())
|
||||||
{
|
{
|
||||||
case TET: ipdtet.Elem(i).Reset(ipd); break;
|
case TET: ipdtet.Elem(i).reset(ipd); break;
|
||||||
case TET10: ipdtet10.Elem(i).Reset(ipd); break;
|
case TET10: ipdtet10.Elem(i).reset(ipd); break;
|
||||||
default:
|
default:
|
||||||
PrintSysError ("Element::ComputeIntegrationPoint(2), illegal type ", int(typ));
|
PrintSysError ("Element::ComputeIntegrationPoint(2), illegal type ", int(typ));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user