Skip to content

Commit

Permalink
Merge branch 'master' into add-zero-length-implex-contact
Browse files Browse the repository at this point in the history
  • Loading branch information
MassimoPetracca committed Aug 27, 2021
2 parents 9b533e7 + 494ad90 commit 84911e5
Show file tree
Hide file tree
Showing 36 changed files with 5,171 additions and 2,648 deletions.
2 changes: 2 additions & 0 deletions DEVELOPER/core/classTags.h
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,8 @@
#define ELE_TAG_SixNodeTri 209
#define ELE_TAG_ZeroLengthImplexContact 218 // Onur Deniz Akan (IUSS), Massimo Petracca (ASDEA)

#define ELE_TAG_ASDEmbeddedNodeElement 217 // Massimo Petracca (ASDEA)

#define FRN_TAG_Coulomb 1
#define FRN_TAG_VelDependent 2
#define FRN_TAG_VelPressureDep 3
Expand Down
19 changes: 5 additions & 14 deletions MAKES/Makefile.def.Ubuntu20.04
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,22 @@


# Instructuction for building OpenSees on Ubuntu 20.04
# NOTE: if you plan to contribue code, fork your own github reo in the browser
# NOTE: if you plan to contribue code, fork your own github repo in the browser
# and make change to git clone below to point to your own fork. We will
# never give anyone access to repo itself.


# mkdir $HOME/lib
# mkdir $HOME/bin
# sudo apt-get update
# sudo apt-get install git
# sudo apt-get install emacs
# sudo apt-get install build-essential
# sudo apt-get install gfortran
# wget https://prdownloads.sourceforge.net/tcl/tcl8.6.10-src.tar.gz
# tar zxBf tcl8.6.tar.gz
# cd tcl8.6.10/unix
# configure --prefix=$HOME/tcl8.6 --enable-static --disable-shared --enable-64bit
# sudo apt-get install -y git emacs build-essential gfortran tcl8.6 tcl8.6-dev
# make
# make install
# cd $HOME
# git clone https://github.com/OpenSees/OpenSees.git
# cd OpenSees
# cp ./MAKES/Makefile.def.Ubuntu20.04 ./Makefile.def
# make
# make ## For faster compilation, add -j $(numberOfCores)


#INTERPRETER_LANGUAGE = PYTHON
Expand Down Expand Up @@ -115,8 +108,7 @@ UMFPACK_LIBRARY = $(HOME)/lib/libUmfpack.a
METIS_LIBRARY = $(HOME)/lib/libMetis.a
CSPARSE_LIBRARY = $(HOME)/lib/libCSparse.a

TCL_LIBRARY = $(HOME)/tcl8.6/lib/libtcl8.6.a

TCL_LIBRARY = /usr/lib/x86_64-linux-gnu/libtcl8.6.so
BLITZ_LIBRARY = $(HOME)/blitz/lib/libblitz.a
GRAPHIC_LIBRARY =

Expand Down Expand Up @@ -267,8 +259,7 @@ MACHINE_INCLUDES = -I/usr/include \
# this file contains all the OpenSees/SRC includes
include $(FE)/Makefile.incl

#TCL_INCLUDES = -I/usr/includes/tcl-private/generic
TCL_INCLUDES = -I$(HOME)/tcl8.6/include
TCL_INCLUDES = -I/usr/include/tcl8.6
PYTHON_INCLUDES = -I/usr/include/python3.5

INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES) $(PYTHON_INCLUDES)
Expand Down
4 changes: 3 additions & 1 deletion SRC/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,8 @@ ELE_LIBS = $(FE)/element/Element.o \
$(FE)/element/RockingBC/RockingBC.o \
$(FE)/element/masonry/MasonPan12.o \
$(FE)/element/masonry/MasonPan3D.o \
$(FE)/element/masonry/BeamGT.o
$(FE)/element/masonry/BeamGT.o \
$(FE)/element/CEqElement/ASDEmbeddedNodeElement.o

# $(FE)/material/nD/Damage2p.o \
# $(FE)/material/nD/Damage2p3D.o \
Expand Down Expand Up @@ -861,6 +862,7 @@ MATERIAL_LIBS = $(FE)/material/Material.o \
$(FE)/material/uniaxial/Trilinwpd.o \
$(FE)/material/uniaxial/Trilinwp.o \
$(FE)/material/uniaxial/Trilinwp2.o \
$(FE)/material/uniaxial/SteelFractureDI.o \
$(FE)/material/nD/NDMaterial.o \
$(FE)/material/nD/PlaneStressLayeredMaterial.o \
$(FE)/material/nD/PlaneStressRebarMaterial.o \
Expand Down
1 change: 1 addition & 0 deletions SRC/Makefile.incl
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ FE_INCLUDES = -I$(FE)/matrix \
-I$(FE)/element/twoNodeLink \
-I$(FE)/element/updatedLagrangianBeamColumn \
-I$(FE)/element/RockingBC \
-I$(FE)/element/CEqElement \
-I$(FE)/element/UWelements \
-I$(FE)/element/HUelements \
-I$(FE)/analysis \
Expand Down
5 changes: 5 additions & 0 deletions SRC/actor/objectBroker/FEM_ObjectBrokerAllClasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@
#include "PFEMElement/PFEMElement2D.h"
#include "RockingBC/RockingBC.h"

#include "CEqElement/ASDEmbeddedNodeElement.h"

#include "LinearCrdTransf2d.h"
#include "LinearCrdTransf3d.h"
#include "PDeltaCrdTransf2d.h"
Expand Down Expand Up @@ -897,6 +899,9 @@ FEM_ObjectBrokerAllClasses::getNewElement(int classTag)
case ELE_TAG_RockingBC:
return new RockingBC();

case ELE_TAG_ASDEmbeddedNodeElement:
return new ASDEmbeddedNodeElement();

default:
opserr << "FEM_ObjectBrokerAllClasses::getNewElement - ";
opserr << " - no Element type exists for class tag " ;
Expand Down
2 changes: 2 additions & 0 deletions SRC/classTags.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
#define MAT_TAG_PySimple3 214
#define MAT_TAG_PlateBearingConnectionThermal 215
#define MAT_TAG_ASD_SMA_3K 216
#define MAT_TAG_SteelFractureDI 217 // galvisf

#define MAT_TAG_Masonry 217
#define MAT_TAG_Masonryt 218
Expand Down Expand Up @@ -788,6 +789,7 @@
#define ELE_TAG_BeamGT 214
#define ELE_TAG_MasonPan12 215
#define ELE_TAG_MasonPan3D 216
#define ELE_TAG_ASDEmbeddedNodeElement 217 // Massimo Petracca (ASDEA)
#define ELE_TAG_ZeroLengthImplexContact 218 // Onur Deniz Akan (IUSS), Massimo Petracca (ASDEA)
#define ELE_TAG_ExternalElement 99990

Expand Down
Loading

0 comments on commit 84911e5

Please sign in to comment.