VISU::GaussPoints_i
::GetMemorySize()
{
- CORBA::Float aMemorySize = TSuperClass::GetMemorySize();
-
- // To calculate memory used by VISU Converter
- VISU::Result_i::TInput* anInput = GetCResult()->GetInput();
- CORBA::Float aSize = anInput->GetTimeStampOnGaussPtsSize(GetCMeshName(),
- GetTEntity(),
- GetCFieldName(),
- GetTimeStampNumber());
- // Convert to mega bytes
- aMemorySize += aSize / (1024.0 * 1024.0);
- //cout<<"GaussPoints_i::GetMemorySize - "<<this<<"; anInput = "<<aMemorySize<<endl;
- //cout<<endl;
- return aMemorySize;
+ return TSuperClass::GetMemorySize();
}
//----------------------------------------------------------------------------
VISU::ScalarMap_i
::GetMemorySize()
{
- CORBA::Float aMemorySize = TSuperClass::GetMemorySize();
-
- // To calculate memory used by VISU Converter
- VISU::Result_i::TInput* anInput = GetCResult()->GetInput();
- CORBA::Float aSize = anInput->GetTimeStampOnMeshSize(GetCMeshName(),
- GetTEntity(),
- GetCFieldName(),
- GetTimeStampNumber());
- // Convert to mega bytes
- aMemorySize += aSize / (1024.0 * 1024.0);
- //cout<<"ScalarMap_i::GetMemorySize - "<<this<<"; anInput = "<<aMemorySize<<endl;
- //cout<<endl;
- return aMemorySize;
+ return TSuperClass::GetMemorySize();
}
//----------------------------------------------------------------------------