mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-12 00:59:16 +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)
|