model.ClusterModel.set_field#

ClusterModel.set_field(name, value)[source]#

Set a field with name name to value value, which is an unyt_array. The array will be checked to make sure that it has the appropriate size.