Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions applications/crystalPlasticity/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
5 changes: 4 additions & 1 deletion applications/crystalPlasticity/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
#include <fstream>
#include <sstream>
#include <iostream>
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"

Expand Down
2 changes: 1 addition & 1 deletion src/ellipticBVP/applyInitialConditions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ void ellipticBVP<dim>::applyInitialConditions(){
//pcout << "applying the default zero initial condition\n";
//default method to apply zero initial conditions on all fields
VectorTools::interpolate (dofHandler,
ZeroFunction<dim>(dim),
dealii::Functions::ZeroFunction<dim>(dim),
solution);
}
#include "../../include/ellipticBVP_template_instantiations.h"