Commit 99c53448 authored by Baptiste Durand's avatar Baptiste Durand

Correction of function names in test_mesh_generate_2D.py

parent 368c39bc
......@@ -5,7 +5,7 @@ Created on 12/06/2019
"""
from ho_homog import geometry as geo
from ho_homog import mesh_generate as mesh2D
from ho_homog import mesh_generate as mg
from ho_homog.toolbox_gmsh import msh_conversion
import gmsh
......@@ -17,7 +17,7 @@ def test_rve_2_part():
a = 1
b, k = a, a / 3
r = a / 1e2
panto_rve = mesh2D.Gmsh2DRVE.pantograph(a, b, k, r, name="couple_panto")
panto_rve = mg.pantograph.pantograph_RVE(a, b, k, r, name="couple_panto")
lc_ratio = 1 / 2
lc_min_max = (lc_ratio * r, lc_ratio * a)
d_min_max = (5 * r, a)
......@@ -26,7 +26,7 @@ def test_rve_2_part():
gmsh.model.mesh.renumberNodes()
gmsh.model.mesh.renumberElements()
gmsh.write(str(panto_rve.mesh_abs_path))
panto_part = mesh2D.Gmsh2DPartFromRVE(panto_rve, (2, 3))
panto_part = mg.Gmsh2DPartFromRVE(panto_rve, (2, 3))
msh_conversion(panto_rve.mesh_abs_path, ".xdmf")
msh_conversion(panto_part.mesh_abs_path, ".xdmf")
......@@ -36,7 +36,7 @@ def test_pantograph_offset():
a = 1
b, k = a, a / 3
t = 0.02
panto_test = mesh2D.pantograph_offset_RVE(
panto_test = mg.pantograph.pantograph_offset_RVE(
a, b, k, t, nb_cells=(1, 1), soft_mat=False, name="panto_rve_1x1"
)
lc_ratio = 1 / 6
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment