Skip to content

Commit 11db2a3

Browse files
btalaminichapman39
authored andcommitted
Merge pull request #1463 from llnl/hartland1/feature/contact-homotopy
Contact-Homotopy
2 parents fba354d + 8ac9379 commit 11db2a3

File tree

10 files changed

+788
-261
lines changed

10 files changed

+788
-261
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ PackageName: BLT
7070
PackageHomePage: https://github.com/LLNL/blt
7171
PackageLicenseDeclared: BSD-3-Clause
7272

73+
PackageName: ContinuationSolvers
74+
PackageHomePage: https://github.com/LLNL/ContinuationSolvers
75+
PackageLicenseDeclared: BSD-3-Clause
76+
7377
PackageName: MFEM
7478
PackageHomePage: https://github.com/mfem/mfem
7579
PackageLicenseDeclared: BSD-3-Clause

examples/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ add_subdirectory(conduction)
2626
# Add the contact examples
2727
add_subdirectory(contact)
2828

29+
# Add the contact-homotopy examples
30+
add_subdirectory(contact/homotopy)
31+
2932
# Add the buckling examples
3033
add_subdirectory(buckling)
3134

examples/contact/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ if(TRIBOL_FOUND AND STRUMPACK_DIR)
1010
ironing.cpp
1111
sphere.cpp
1212
twist.cpp
13-
constraint_twist.cpp
1413
)
1514

1615
foreach(filename ${CONTACT_EXAMPLES_SOURCES})

examples/contact/constraint_twist.cpp

Lines changed: 0 additions & 78 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) Lawrence Livermore National Security, LLC and
2+
# other Serac Project Developers. See the top-level LICENSE file for
3+
# details.
4+
#
5+
# SPDX-License-Identifier: (BSD-3-Clause)
6+
7+
if (TRIBOL_FOUND AND STRUMPACK_DIR AND SMITH_ENABLE_CONTINUATION)
8+
blt_add_executable( NAME two_blocks_example
9+
SOURCES two_blocks.cpp
10+
OUTPUT_DIR ${EXAMPLE_OUTPUT_DIRECTORY}
11+
DEPENDS_ON smith continuation_solver
12+
)
13+
smith_add_example_test(NAME two_blocks
14+
COMMAND two_blocks_example
15+
NUM_MPI_TASKS 4)
16+
install(
17+
FILES
18+
two_blocks.cpp
19+
DESTINATION
20+
examples/smith/two_blocks
21+
)
22+
endif()

0 commit comments

Comments
 (0)