Commit 88f3fc11 authored by uvilla's avatar uvilla
Browse files

Fixed test_bdf.cpp after the modification of DataMesh.

parent 152f9268
......@@ -29,5 +29,12 @@ check_HEADERS = test_bdf.hpp
check_PROGRAMS = test_bdf
test_bdf_SOURCES = main.cpp test_bdf.cpp
link:
test -a data || ln -s $(srcdir)/data
test -a Mesh || ln -s $(top_srcdir)/testsuite/data/mesh/inria/ Mesh
clean-results:
-rm *.vct *.scl *.case *.geo
EXTRA_DIST = data testsuite.at
MOSTLYCLEANFILES = *.scl *.case *.geo
\ No newline at end of file
......@@ -169,8 +169,10 @@ void test_bdf::run() {
//=============================================================================
//Mesh stuff
Members->comm->Barrier();
DataMesh<RegionMesh> dataMesh(dataFile, ("bdf/" + discretization_section).c_str());
partitionMesh<RegionMesh> meshPart(*dataMesh.mesh().get(), *Members->comm);
DataMesh dataMesh(dataFile, ("bdf/" + discretization_section).c_str());
RegionMesh mesh;
readMesh(mesh,dataMesh);
partitionMesh<RegionMesh> meshPart(mesh, *Members->comm);
//=============================================================================
//finite element space of the solution
......
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