MCPcopy Create free account
hub / github.com/Kitware/VTK / SetValue

Method SetValue

ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfArray.cxx:527–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525}
526
527XdmfInt32 XdmfArray::SetValue( XdmfInt64 Index, XdmfInt64 Value ) {
528
529XdmfPointer ArrayPointer;
530XdmfInt64 *vp;
531
532ArrayPointer = this->GetDataPointer(Index);
533vp = &Value;
534XDMF_ARRAY_COPY( ArrayPointer, this->GetNumberType(), 1,
535 vp, XDMF_INT64_TYPE, 1,
536 XDMF_ARRAY_IN, 1);
537return( XDMF_SUCCESS );
538}
539
540XdmfInt32 XdmfArray::SetValue( XdmfInt64 Index, XdmfFloat64 Value ) {
541

Callers 13

SetValueFromInt64Method · 0.95
SetValueFromFloat64Method · 0.95
UpdateInformationMethod · 0.45
SetTimeFromParentMethod · 0.45
XdmfExprYacc.cxxFile · 0.45
UpdateInformationMethod · 0.45
UpdateMethod · 0.45
GenerateArrayFunction · 0.45
TestCoordsFunction · 0.45
TestFieldDataFailuresFunction · 0.45
TestDataSetFailuresFunction · 0.45
MakeTableFunction · 0.45

Calls 4

GetDataPointerMethod · 0.95
SetValueFromInt64Method · 0.95
SetValueFromFloat64Method · 0.95
GetNumberTypeMethod · 0.80

Tested by 6

GenerateArrayFunction · 0.36
TestCoordsFunction · 0.36
TestFieldDataFailuresFunction · 0.36
TestDataSetFailuresFunction · 0.36
MakeTableFunction · 0.36
TestTableFailuresFunction · 0.36