Commit 81d19783 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#243 Update Scons; add test in it.

parent 3b178c29
......@@ -94,6 +94,8 @@ namespace HappyHeart
template<class TopologyT, unsigned int NI, unsigned int NJ, unsigned int NK>
LocalDofGroup ComputeLocalDofList(const unsigned int Ndof)
{
static_cast<void>(Ndof); // Used only for a sanity check in debug mode.
static_assert(std::is_same<TopologyT, GeoRef::TopologyNS::Hexahedron>() ||
std::is_same<TopologyT, GeoRef::TopologyNS::Quadrangle>() ||
std::is_same<TopologyT, GeoRef::TopologyNS::Segment>(),
......
......@@ -4,12 +4,12 @@ Import(['env', 'all_libs'])
geometry_src = Split('''
Coords.cpp
Domain.cpp
Exceptions/Coords.cpp
Exceptions/Format/Ensight.cpp
Exceptions/Format/Format.cpp
Exceptions/Format/Medit.cpp
Exceptions/GeometricElt.cpp
GeometricElt.cpp
GeometricElements/Hexahedron20.cpp
GeometricElements/Hexahedron27.cpp
GeometricElements/Hexahedron8.cpp
......@@ -23,7 +23,7 @@ GeometricElements/Tetrahedron10.cpp
GeometricElements/Tetrahedron4.cpp
GeometricElements/Triangle3.cpp
GeometricElements/Triangle6.cpp
Domain.cpp
GeometricElt.cpp
GeometricMeshRegion.cpp
GeometricMeshRegion__Ensight.cpp
GeometricMeshRegion__Medit.cpp
......@@ -72,11 +72,11 @@ GeometricReferenceElements/Traits/Topology/Tetrahedron.cpp
GeometricReferenceElements/Traits/Topology/Triangle.cpp
GeometricReferenceElements/Triangle3.cpp
GeometricReferenceElements/Triangle6.cpp
RefGeomElt.cpp
Interfaces/EnumInterface.cpp
Interfaces/Edge.cpp
Interfaces/EnumInterface.cpp
Interfaces/Face.cpp
Interfaces/Interface.cpp
Interfaces/OrientedEdge.cpp
Interfaces/Private/BuildInterfaceHelper.cpp
Interfaces/Private/Edge.cpp
Interfaces/Vertex.cpp
......@@ -87,6 +87,7 @@ Private/Exceptions/GeometricEltFactory.cpp
Private/Exceptions/GeometricEltList.cpp
Private/GeometricEltFactory.cpp
Private/GeometricEltList.cpp
RefGeomElt.cpp
''')
name = 'happy_heart_geometry'
......
......@@ -328,12 +328,12 @@ list_exec = SConscript('Problems/SConscript',
variant_dir=os.path.join(intermediate_variant_directory, 'Problems'),
duplicate=0)
#list_test_exec = SConscript('Test/SConscript',
# exports=(['env', 'all_libs']),
# variant_dir=os.path.join(intermediate_variant_directory, 'Tests'),
# duplicate=0)
list_test_exec = SConscript('Test/SConscript',
exports=(['env', 'all_libs']),
variant_dir=os.path.join(intermediate_variant_directory, 'Tests'),
duplicate=0)
#list_exec.extend(list_test_exec)
list_exec.extend(list_test_exec)
......
......@@ -5,7 +5,6 @@ Import(['env', 'all_libs'])
list_exec = []
problems = ("Hyperelasticity", "Elasticity")
# For the time being only main_test in Tests folder is considered... Later on should be as Problems.
#for problem in problems:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment