run_valgrind_elasticity.py 484 Bytes
Newer Older
1
import os
2
3


4
from run_valgrind_tools import RunValgrind
5
6
7
8


if __name__ == "__main__":

9
10
    morefem_root_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..")
    morefem_model_instances_dir = os.path.join(morefem_root_dir, "Sources", "ModelInstances")
11

12
    lua_file = os.path.join(morefem_model_instances_dir, "Elasticity", "demo_2d_binary.lua")
13
#
14
    RunValgrind("Sources/MoReFEM4Elasticity",  lua_file, os.path.join(morefem_root_dir, "memcheck_elasticity.txt"))