MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / opsPartition

Function opsPartition

SRC/runtime/commands/parallel/partition.cpp:85–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84
85int
86opsPartition(ClientData clientData, Tcl_Interp *interp, int argc,
87 TCL_Char ** const argv)
88{
89 PartitionRuntime& part = *static_cast<PartitionRuntime*>(clientData);
90
91 int eleTag;
92 if (argc == 2) {
93 if (Tcl_GetInt(interp, argv[1], &eleTag) != TCL_OK) {
94 ;
95 }
96 }
97 partitionModel(part, eleTag);
98 return TCL_OK;
99}
100
101static int
102partitionModel(PartitionRuntime& part, int eleTag)

Callers

nothing calls this directly

Calls 1

partitionModelFunction · 0.70

Tested by

no test coverage detected