4 env = cf.Core.environment()
6 env.only_cpu0_writes =
True
9 domain = root.create_component(
'Domain',
'cf3.mesh.Domain')
11 reader = domain.create_component(
'CF3MeshReader',
'cf3.mesh.cf3mesh.Reader')
12 reader.mesh = domain.create_component(
'ReadBackMesh',
'cf3.mesh.Mesh')
13 reader.file = cf.URI(
'cf3test.cf3mesh')
16 reader.mesh.print_tree()
18 domain.write_mesh(cf.URI(
'cf3test-merged.pvtu'))