mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
12 lines
247 B
Python
12 lines
247 B
Python
|
import pytest
|
||
|
|
||
|
@pytest.fixture
|
||
|
def unit_mesh_2d():
|
||
|
import netgen.geom2d as g2d
|
||
|
return g2d.unit_square.GenerateMesh(maxh=0.2)
|
||
|
|
||
|
@pytest.fixture
|
||
|
def unit_mesh_3d():
|
||
|
import netgen.csg as csg
|
||
|
return csg.unit_cube.GenerateMesh(maxh=0.2)
|