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

Method GetRelationShipString

Filters/Geometry/vtkStructuredAMRNeighbor.cxx:81–113  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

79
80//------------------------------------------------------------------------------
81std::string vtkStructuredAMRNeighbor::GetRelationShipString()
82{
83 std::string str;
84 switch (this->RelationShip)
85 {
86 case PARENT:
87 str = "PARENT";
88 break;
89 case PARTIALLY_OVERLAPPING_PARENT:
90 str = "PARTIALLY_OVERLAPPING_PARENT";
91 break;
92 case CHILD:
93 str = "CHILD";
94 break;
95 case PARTIALLY_OVERLAPPING_CHILD:
96 str = "PARTIALLY_OVERLAPPING_CHILD";
97 break;
98 case SAME_LEVEL_SIBLING:
99 str = "SAME_LEVEL_SIBLING";
100 break;
101 case COARSE_TO_FINE_SIBLING:
102 str = "COARSE_TO_FINE_SIBLING";
103 break;
104 case FINE_TO_COARSE_SIBLING:
105 str = "FINE_TO_COARSE_SIBLING";
106 break;
107 case UNDEFINED: /* intentional fall-through */
108 default:
109 str = "UNDEFINED";
110 } // END switch
111
112 return (str);
113}
114
115//------------------------------------------------------------------------------
116void vtkStructuredAMRNeighbor::GetReceiveExtentOnGrid(int ng, int gridExtent[6], int ext[6])

Callers 3

PrintSelfMethod · 0.80
TestAssignmentOperatorFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestAssignmentOperatorFunction · 0.64