GLVis  v4.2
Accurate and flexible finite element visualization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Functions | Variables
glvis_driver Namespace Reference

Functions

def compare_images
 
def test_case
 
def test_stream
 
def test_cmd
 

Variables

dictionary test_cases
 
string screenshot_keys = "Sq"
 
string screenshot_file = "GLVis_s01.png"
 
float cutoff_ssim = 0.999
 
tuple parser = argparse.ArgumentParser()
 
tuple args = parser.parse_args()
 
tuple result = test_stream(args.exec_cmd, args.exec_args, args.save_stream, args.baseline)
 

Function Documentation

def glvis_driver.compare_images (   baseline_file,
  output_file,
  expect_fail = False 
)

Definition at line 49 of file glvis_driver.py.

def glvis_driver.test_case (   exec_path,
  exec_args,
  baseline,
  t_group,
  t_name,
  cmd 
)

Definition at line 80 of file glvis_driver.py.

def glvis_driver.test_cmd (   exec_path,
  exec_args,
  tgroup,
  baseline 
)

Definition at line 146 of file glvis_driver.py.

def glvis_driver.test_stream (   exec_path,
  exec_args,
  save_file,
  baseline 
)

Definition at line 105 of file glvis_driver.py.

Variable Documentation

tuple glvis_driver.args = parser.parse_args()

Definition at line 168 of file glvis_driver.py.

float glvis_driver.cutoff_ssim = 0.999

Definition at line 47 of file glvis_driver.py.

tuple glvis_driver.parser = argparse.ArgumentParser()

Definition at line 162 of file glvis_driver.py.

tuple glvis_driver.result = test_stream(args.exec_cmd, args.exec_args, args.save_stream, args.baseline)

Definition at line 170 of file glvis_driver.py.

string glvis_driver.screenshot_file = "GLVis_s01.png"

Definition at line 45 of file glvis_driver.py.

string glvis_driver.screenshot_keys = "Sq"

Definition at line 44 of file glvis_driver.py.

dictionary glvis_driver.test_cases
Initial value:
1 = {
2  "magnify": "*****",
3  "axes1": "a",
4  "axes2": "aa",
5  "mesh1": "m",
6  "mesh2": "mm",
7  "cut_plane": "i",
8  "cut_plane_rotate": "iyyyy",
9  "cut_plane_rotate_back": "iyyyyYYYY",
10  "cut_plane_transl": "izzzz",
11  "cut_plane_transl_back": "izzzzZZZZ",
12  "orient2d_1": "R",
13  "orient2d_2": "RR",
14  "orient2d_3": "RRR",
15  "orient2d_4": "RRRR",
16  "orient2d_5": "RRRRR",
17  "orient2d_6": "RRRRRR",
18  "orient3d": "Rr",
19  "perspective": "j",
20 }

Definition at line 23 of file glvis_driver.py.