Skip to content

Commit

Permalink
add gsStructuralAnalysis as build target
Browse files Browse the repository at this point in the history
  • Loading branch information
hverhelst committed Aug 1, 2024
1 parent 555172e commit 8fdcf51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ if( (NOT GISMO_BUILD_LIB) )
endif()
endif()

add_custom_target(${PROJECT_NAME})

# add filedata folder
add_definitions(-DSTRAN_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/filedata/")

Expand Down
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ FOREACH(subdir ${SUBDIRS})
add_dependencies(${GM_NAME} mpfr)
endif()

add_dependencies(${GM_NAME} ${PROJECT_NAME})

## Add extra instances (template instantiations)
# NOTE: The static/non templated part of the library is
# compiled above only for GISMO_COEFF_TYPE
Expand Down
2 changes: 1 addition & 1 deletion src/gsEigenSolvers/gsBucklingSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class gsBucklingSolver : public gsEigenProblemBase<T>
m_scaling(scaling)
{
m_A = linear;
m_dnonlinear = [this](gsVector<T> const & x, gsVector<T> const & dx, gsSparseMatrix<T> & m) -> bool
m_dnonlinear = [this](gsVector<T> const & x, gsVector<T> const & /*dx*/, gsSparseMatrix<T> & m) -> bool
{
return m_nonlinear(x,m);
};
Expand Down

0 comments on commit 8fdcf51

Please sign in to comment.