diff --git a/applications/crystalPlasticity/CMakeLists.txt b/applications/crystalPlasticity/CMakeLists.txt index d8a138a..302358c 100644 --- a/applications/crystalPlasticity/CMakeLists.txt +++ b/applications/crystalPlasticity/CMakeLists.txt @@ -73,3 +73,6 @@ elseif(${CMAKE_BUILD_TYPE} STREQUAL "DebugRelease") else() TARGET_LINK_LIBRARIES(main ${CMAKE_SOURCE_DIR}/../../libprisms_cp_debug.a) endif() + +set_target_properties(main PROPERTIES OUTPUT_NAME "crystalPlasticity") +install(TARGETS main RUNTIME) diff --git a/applications/crystalPlasticity/main.cc b/applications/crystalPlasticity/main.cc index a4a6e28..3639504 100644 --- a/applications/crystalPlasticity/main.cc +++ b/applications/crystalPlasticity/main.cc @@ -3,7 +3,10 @@ #include #include #include -using namespace std; + +// Using namespace std gets GCC confused in the Boost geometry point_xy.hpp +// See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110636 +//using namespace std; #include "../../include/crystalPlasticity.h" diff --git a/src/ellipticBVP/applyInitialConditions.cc b/src/ellipticBVP/applyInitialConditions.cc index 0ce8a5a..9d645f3 100644 --- a/src/ellipticBVP/applyInitialConditions.cc +++ b/src/ellipticBVP/applyInitialConditions.cc @@ -7,7 +7,7 @@ void ellipticBVP::applyInitialConditions(){ //pcout << "applying the default zero initial condition\n"; //default method to apply zero initial conditions on all fields VectorTools::interpolate (dofHandler, - ZeroFunction(dim), + dealii::Functions::ZeroFunction(dim), solution); } #include "../../include/ellipticBVP_template_instantiations.h"