triqs.mesh.mesh_product.MeshProduct.copy_from
- MeshProduct.copy_from(another)[source]
Deep-copy the contents of
anotherintoselffactor by factor.- Parameters:
- anotherMeshProduct
Source product mesh. Must have the same rank as
self.
- Returns:
- MeshProduct
Result of the elementwise
copy_fromon the factor meshes.
- Raises:
- AssertionError
If
another.rankdoes not matchself.rank.