def sendVelocities(self): dim, order, nodes, vertices = self.boundary.mesh.statistics() length = 3 * nodes field = self.boundary.velocity import elc elc.sendFieldMPI(self.source, self.sink, field, length) return
def sendPressures(self): dim, order, nodes, vertices = self.boundary.mesh.statistics() length = nodes field = self.boundary.pressure import elc # source and sink are reversed for this field elc.sendFieldMPI(self.sink, self.source, field, length) return