BELFEM 0.9.3
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
rutherford.tests.test_e2e Namespace Reference

Functions

 check (label, ok)

Variables

 out = tempfile.mkdtemp(prefix="rutherford_e2e_")
 C = Cable()
 msh = os.path.join(out, "rutherford.msh")
 conf = os.path.join(out, "rutherford_topology.conf")
 text = open(msh).read()
 topo = open(conf).read()

Detailed Description

End-to-end: the exact config of main.py, then the physical tags and
the periodic block of the written mesh are checked. Calls gmsh.

Function Documentation

◆ check()

check ( label,
ok )

Variable Documentation

◆ C

rutherford.tests.test_e2e.C = Cable()

◆ conf

rutherford.tests.test_e2e.conf = os.path.join(out, "rutherford_topology.conf")

◆ msh

rutherford.tests.test_e2e.msh = os.path.join(out, "rutherford.msh")

◆ out

rutherford.tests.test_e2e.out = tempfile.mkdtemp(prefix="rutherford_e2e_")

◆ text

rutherford.tests.test_e2e.text = open(msh).read()

◆ topo

rutherford.tests.test_e2e.topo = open(conf).read()