autoptr and parallel

This commit is contained in:
Joachim Schoeberl 2014-09-10 16:15:03 +00:00
parent 3b21241daf
commit f96adac6fe
2 changed files with 6 additions and 5 deletions

View File

@ -10,6 +10,7 @@
namespace netgen
{
/*
template <typename T>
class AutoPtr
{
@ -30,7 +31,7 @@ private:
AutoPtr (AutoPtr &) { ; }
AutoPtr & operator= (AutoPtr &) { ; }
};
*/
}
#endif

View File

@ -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));
}