Exemplo n.º 1
0
CD.init()
CD.set_app_type(app_type)
CD.set_app_name(app_name)
CD.set_world_comm(world_comm)

local_comm = MPI.COMM_NULL
local_comm = CD.set_mpi_comms()
local_rank = local_comm.Get_rank()
local_size = local_comm.Get_size()
#-------------------------------------------------------------------------||---#

#===================================================================| MESH |===#

#-------------------------------------------------------------------------||---#
n_vertices_j = 0
vertex_coords_j = Commdomm.darray(n_vertices_j)

n_vertices = 0
vertex_coords = []

n_elements = 0
vertex_num = []
#-------------------------------------------------------------------------||---#

#-------------------------------------------------------------------------||---#
sys.path.append(ROOT + "/Thirdparties/libple/PLEPP/Tools/VTK")
import vtk_creator
VTKout = vtk_creator.Vtk_creator()
Alya2vtk = vtk_creator.Vtk2Alya_cell()
#-------------------------------------------------------------------------||---#