def _assemble_model(self):
"""
Create a model
:return model
"""
result_model = model.Model({
"dimension" : self._dimension,
"type" : self._type,
"image_path" : self._image_path,
"elasticity_quotient": self._elasticity_quotient,
"mu_lame": self._mu_lame,
"density": self._density,
"v_p": self._v_p,
"v_s": self._v_s
}, self.GRID_SIZE)
return result_model
# TODO: produce different source types
评论列表
文章目录