https://github.com/pou036/redback
Raw File
Tip revision: b365b2746c338122b836fc5a5f6c38e69c6bb396 authored by Thomas Poulet on 23 October 2015, 02:51:11 UTC
Using _exponential_vol = _exponential* std::exp(-(_alpha_1[_qp] + _alpha_2[_qp]*_pore_pres[_qp])); // K1, K2
Tip revision: b365b27
run_tests
#!/usr/bin/env python
import sys, os, inspect

# Set the current working directory to the directory where this script is located
os.chdir(os.path.abspath(os.path.dirname(sys.argv[0])))

#### Set the name of the application here and moose directory relative to the application
app_name = 'redback'

MOOSE_DIR = os.path.abspath(os.path.join('..', 'moose'))
#### See if MOOSE_DIR is already in the environment instead
if os.environ.has_key("MOOSE_DIR"):
  MOOSE_DIR = os.environ['MOOSE_DIR']

sys.path.append(os.path.join(MOOSE_DIR, 'python'))
import path_tool
path_tool.activate_module('TestHarness')

from TestHarness import TestHarness
# Run the tests!
TestHarness.buildAndRun(sys.argv, app_name, MOOSE_DIR)
back to top