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