Skip to content

Commit

Permalink
Merge pull request #664 from jaabell/master
Browse files Browse the repository at this point in the history
Fixes clash of Vec type defined in RockingBC.h:64 with definition in …
  • Loading branch information
mhscott committed Sep 20, 2021
2 parents 65b8e52 + b83735a commit 9039f7c
Show file tree
Hide file tree
Showing 5 changed files with 432 additions and 429 deletions.
12 changes: 11 additions & 1 deletion SRC/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,13 @@ SECTION_LIBS = $(FE)/material/section/SectionForceDeformation.o \

SUPER_LU_OBJ = $(FE)/system_of_eqn/linearSOE/sparseGEN/SuperLU.o

PETSC_SOE_OBJ =
ifeq ($(HAVEPETSC), YES)
PETSC_SOE_OBJ = $(FE)/system_of_eqn/linearSOE/petsc/PetscSOE.o \
$(FE)/system_of_eqn/linearSOE/petsc/PetscSolver.o \
$(FE)/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o
endif

ifeq ($(PROGRAMMING_MODE), THREADS)
SUPER_LU_OBJ = $(FE)/system_of_eqn/linearSOE/sparseGEN/ThreadedSuperLU.o
endif
Expand All @@ -1088,7 +1095,8 @@ SUPER_LU_OBJ = $(FE)/system_of_eqn/linearSOE/sparseGEN/SuperLU.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsParallelSOE.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsParallelSolver.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsSOE.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsSolver.o
$(FE)/system_of_eqn/linearSOE/mumps/MumpsSolver.o \
$(PETSC_SOE_OBJ)
endif

ifeq ($(PROGRAMMING_MODE), PARALLEL_INTERPRETERS)
Expand All @@ -1101,6 +1109,8 @@ SUPER_LU_OBJ = $(FE)/system_of_eqn/linearSOE/sparseGEN/SuperLU.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsSolver.o
endif



CUDA_CLASSES =

SequentialSysOfEqn_LIBS = $(FE)/system_of_eqn/linearSOE/LinearSOE.o \
Expand Down
3 changes: 1 addition & 2 deletions SRC/actor/objectBroker/FEM_ObjectBrokerAllClasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2287,8 +2287,7 @@ FEM_ObjectBrokerAllClasses::getNewLinearSOE(int classTagSOE)

#ifdef _PETSC
case LinSOE_TAGS_PetscSOE:
thePetscSolver = new PetscSolver();
theSOE = new PetscSOE(*thePetscSolver);
theSOE = new PetscSOE(*( new PetscSolver()));
return theSOE;
#endif

Expand Down
Loading

0 comments on commit 9039f7c

Please sign in to comment.