-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #232 from vickysharma0812/dev
v23.10.1
- Loading branch information
Showing
308 changed files
with
31,034 additions
and
10,415 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ | |
|
||
vscode-settings | ||
media/ | ||
include/ | ||
lib/ | ||
opt/ | ||
bin/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# ############################################################################## | ||
# Try to find Gmsh # # Once done this | ||
# will define: # GMSH_FOUND - system has Gmsh # | ||
# GMSH_INC - Gmsh include directory (static or dynamic) # GMSH_LIB - | ||
# Gmsh library # # Usage: # find_package(Gmsh) # # | ||
# Setting these changes the behavior of the search # GMSH_INC - Gmsh | ||
# include directory # GMSH_LIB - Gmsh library path | ||
# (static or dynamic) # | ||
# ############################################################################## | ||
|
||
# Try to set GMSH_LIB and GMSH_INC from environment variables ## | ||
# ############################################################################## | ||
|
||
if(NOT DEFINED GMSH_LIB) | ||
|
||
find_package(Python3 COMPONENTS Interpreter Development) | ||
|
||
if(Python3_FOUND) | ||
message(STATUS "FOUND Python3") | ||
message(STATUS "Python3_LIBRARY_DIRS ${Python3_LIBRARY_DIRS}") | ||
find_library(GMSH_LIB "gmsh" HINTS $ENV{GMSH_LIB} ${Python3_LIBRARY_DIRS} | ||
NO_CACHE) | ||
else() | ||
message(STATUS "NOT FOUND Python3") | ||
find_library(GMSH_LIB "gmsh" HINTS $ENV{GMSH_LIB} NO_CACHE) | ||
endif() | ||
endif() | ||
|
||
# if(NOT DEFINED GMSH_INC) find_path(GMSH_INC "gmsh.h" HINTS $ENV{GMSH_INC} | ||
# NO_CACHE) endif() | ||
|
||
# CMake check and done ## | ||
# ############################################################################## | ||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args( | ||
Gmsh | ||
"Gmsh could not be found: be sure to set GMSH_LIB and GMSH_INC in your environment variables" | ||
GMSH_LIB) | ||
# GMSH_INC) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,49 @@ | ||
# This program is a part of EASIFEM library | ||
# Copyright (C) 2020-2021 Vikas Sharma, Ph.D | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <https: //www.gnu.org/licenses/> | ||
# | ||
#GMSH SDK | ||
IF( ${PROJECT_NAME} MATCHES "easifemClasses" ) | ||
OPTION( USE_GMSH_SDK OFF ) | ||
IF( USE_GMSH_SDK ) | ||
LIST( APPEND TARGET_COMPILE_DEF "-DUSE_GMSH_SDK" ) | ||
IF( UNIX ) | ||
IF(APPLE) | ||
SET( GMSH_LIBRARIES "$ENV{EASIFEM_EXTPKGS}/lib/libgmsh.dylib" ) | ||
ELSE() | ||
# SET( GMSH_LIBRARIES "$ENV{HOME}/.local/lib/libgmsh.so" ) | ||
SET( GMSH_LIBRARIES "$ENV{EASIFEM_EXTPKGS}/lib/libgmsh.so" ) | ||
ENDIF() | ||
ENDIF() | ||
TARGET_LINK_LIBRARIES( ${PROJECT_NAME} PUBLIC ${GMSH_LIBRARIES} ) | ||
MESSAGE( STATUS "GMSH_LIBRARIES : ${GMSH_LIBRARIES}" ) | ||
ELSE() | ||
MESSAGE( STATUS "NOT USING GMSH SDK LIBRARIES" ) | ||
ENDIF() | ||
ENDIF() | ||
# This program is a part of EASIFEM library Copyright (C) 2020-2021 Vikas | ||
# Sharma, Ph.D | ||
# | ||
# This program is free software: you can redistribute it and/or modify it under | ||
# the terms of the GNU General Public License as published by the Free Software | ||
# Foundation, either version 3 of the License, or (at your option) any later | ||
# version. | ||
# | ||
# This program is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
# details. | ||
# | ||
# You should have received a copy of the GNU General Public License along with | ||
# this program. If not, see <https: //www.gnu.org/licenses/> | ||
# | ||
# GMSH SDK IF( ${PROJECT_NAME} MATCHES "easifemClasses" ) OPTION( USE_GMSH_SDK | ||
# OFF ) IF( USE_GMSH_SDK ) LIST( APPEND TARGET_COMPILE_DEF "-DUSE_GMSH_SDK" ) | ||
# FIND_PACKAGE(PkgConfig REQUIRED) FIND_LIBRARY(GMSH_LIBRARY NAMES gmsh PATHS | ||
# "$ENV{CONDA_PREFIX}/lib" "/opt/homebrew/lib" ) # PATHS "/opt/homebrew/lib" ) | ||
# SET(GMSH_LIBRARIES ${GMSH_LIBRARY}) | ||
# | ||
# INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS( GMSH | ||
# DEFAULT_MSG GMSH_LIBRARIES ) | ||
# | ||
# # SET(GMSH_LIBRARIES "$ENV{CONDA_PREFIX}/lib/libgmsh.so") | ||
# | ||
# TARGET_LINK_LIBRARIES( ${PROJECT_NAME} PUBLIC ${GMSH_LIBRARIES} ) | ||
# | ||
# MESSAGE( STATUS "GMSH_LIBRARIES : ${GMSH_LIBRARIES}" ) ELSE() MESSAGE( STATUS | ||
# "NOT USING GMSH SDK LIBRARIES" ) ENDIF() ENDIF() | ||
|
||
if(${PROJECT_NAME} MATCHES "easifemClasses") | ||
option(USE_GMSH_SDK OFF) | ||
if(USE_GMSH_SDK) | ||
message(STATUS "USING GMSH SDK") | ||
list(APPEND TARGET_COMPILE_DEF "-DUSE_GMSH_SDK") | ||
find_package(Gmsh REQUIRED) | ||
if(GMSH_FOUND) | ||
message(STATUS "FOUND Gmsh") | ||
message(STATUS "GMSH_LIBRARIES : ${GMSH_LIB}") | ||
target_link_libraries(${PROJECT_NAME} PUBLIC ${GMSH_LIB}) | ||
else() | ||
message(STATUS "NOT FOUND Gmsh") | ||
endif() | ||
else() | ||
message(STATUS "NOT USING GMSH SDK") | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"markdown": { | ||
}, | ||
"toml": { | ||
}, | ||
"excludes": [], | ||
"plugins": [ | ||
"https://plugins.dprint.dev/markdown-0.16.3.wasm", | ||
"https://plugins.dprint.dev/toml-0.5.4.wasm" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
# This program is a part of EASIFEM library | ||
# Copyright (C) 2020-2021 Vikas Sharma, Ph.D | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <https: //www.gnu.org/licenses/> | ||
# | ||
|
||
SET(src_path "${CMAKE_CURRENT_LIST_DIR}/src/") | ||
TARGET_SOURCES( | ||
${PROJECT_NAME} PRIVATE | ||
${src_path}/AbstractBC_Class.F90 | ||
) | ||
) |
Oops, something went wrong.