| 1318 | } |
| 1319 | |
| 1320 | XdmfInt64 |
| 1321 | XdmfArray::GetMaxAsInt64( void ) { |
| 1322 | XdmfLength i, Length; |
| 1323 | XdmfInt64 Value, *Data; |
| 1324 | |
| 1325 | Length = this->GetNumberOfElements(); |
| 1326 | Data = new XdmfInt64[ Length ]; |
| 1327 | this->GetValues( 0, Data, Length); |
| 1328 | Value = Data[0]; |
| 1329 | for( i = 0 ; i < Length ; i++ ){ |
| 1330 | if ( Data[i] > Value ) { |
| 1331 | Value = Data[i]; |
| 1332 | } |
| 1333 | } |
| 1334 | delete [] Data; |
| 1335 | return( Value ); |
| 1336 | } |
| 1337 | |
| 1338 | XdmfInt32 XdmfArray::SetValue( XdmfInt64 Index, XdmfUInt8 Value ) { |
| 1339 | return(this->SetValueFromInt64( Index, Value )); |
nothing calls this directly
no test coverage detected