def _createModuleObj(self): """ Create handle to C++ object. This function is called by the generic SpatialDBObj constructor. The name cannot be changed and no arguments can be added. """ # Create the SWIG module object to provide access to the C++ object. ModuleUniformVelModel.__init__(self) return
def _configure(self): """ Set members based on inventory. This function is called automatically when the component is setup. """ SpatialDBObj._configure(self) # Call parent function. # Transfer inventory to C++ object ModuleUniformVelModel.vs(self, self.inventory.vs.value) ModuleUniformVelModel.vp(self, self.inventory.vp.value) ModuleUniformVelModel.density(self, self.inventory.density.value) return