Commit 368c39bc authored by Baptiste Durand's avatar Baptiste Durand

change of attribute name : "mesh_dim" -> "dim"

parent cc054b08
......@@ -61,7 +61,7 @@ class Fenics2DHomogenization(object):
"""
self.rve = fenics_2d_rve
self.topo_dim = topo_dim = fenics_2d_rve.mesh_dim
self.topo_dim = topo_dim = fenics_2d_rve.dim
try:
bottom_left_corner = fenics_2d_rve.bottom_left_corner
except AttributeError:
......
......@@ -58,7 +58,7 @@ class FenicsHomogenizationBeam(object):
"""
self.rve = fenics_2d_rve
self.topo_dim = topo_dim = fenics_2d_rve.mesh_dim
self.topo_dim = topo_dim = fenics_2d_rve.dim
self.pbc = periodicity.PeriodicDomain.pbc_dual_base(
fenics_2d_rve.gen_vect, "X", topo_dim
) # * Périodicité selon X seulement
......
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