Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
65fabee
Fault Output: adding strike and dip slip
Thomas-Ulrich Jun 22, 2015
cc2f6d3
Changed folder structure in order to incorporate attenuation.
uphoffc Jun 29, 2015
2dc3738
Attenuation will be incorporated into GK-SeisSol with a 3 step plan: …
uphoffc Jun 29, 2015
722307b
use of Matlab function pointLocation instead of the brute force metho…
Thomas-Ulrich Jul 22, 2015
38ba717
Very crude, kind of working implementation of attenuation (I'm testin…
uphoffc Jul 27, 2015
0134e58
adding script for rupture velocity output + surfid.m used by gambit_h…
Thomas-Ulrich Jul 28, 2015
913384d
Local changes commited to local repository
Thomas-Ulrich Jul 30, 2015
27cf4ff
added several changes to the workflow bash script toolset to make it …
alheinecke Sep 30, 2015
5fc9dfe
added (commented) backward compatibility for running workflows
alheinecke Oct 5, 2015
42e49b1
Merge branch 'master' of https://github.com/SeisSol/SeisSol into myLo…
Thomas-Ulrich Oct 6, 2015
c9050a1
make script also usable for meshes created with simmodeler
swollherr Oct 6, 2015
1ae9fdd
Merge branch 'master' of https://github.com/SeisSol/SeisSol into myLo…
Thomas-Ulrich Oct 7, 2015
e7d8ebf
adding matlab version test for that script
Thomas-Ulrich Oct 7, 2015
9121864
Revert "Local changes commited to local repository"
Thomas-Ulrich Oct 8, 2015
e704c5c
adjusted build.sh in workflows to new SConstruct
alheinecke Oct 13, 2015
5df800c
added initial version of a script that runs all three workflow steps …
alheinecke Oct 19, 2015
dac296e
adjust output format of automated workflow script
alheinecke Oct 19, 2015
c69d5ae
added workflow tests used for nightly tests on 4 nodes HSX cluster
alheinecke Oct 19, 2015
95f337b
added script to build a code.tar.gz for workflows
alheinecke Oct 19, 2015
12bf85d
Added a tool to convert .srf files to a SeisSol specific binary netcd…
uphoffc Oct 21, 2015
a576fe2
Started integrating netcdf rupture format into seissol.
uphoffc Oct 22, 2015
19b5a4c
Proper frees in MemoryAllocator. NRF specification can be bound in nr…
uphoffc Oct 26, 2015
44c7093
Add default argument for preprocessor to workflow
Oct 29, 2015
93689d2
Integrated nrf into SeisSol.
uphoffc Oct 30, 2015
6bf6f86
Merge branch 'master' of https://github.com/SeisSol/SeisSol
uphoffc Oct 30, 2015
51445a9
Fixed noarch compile bug and made cube generator more flexible.
uphoffc Nov 2, 2015
79f4ace
Made onset normalisation optional.
uphoffc Nov 10, 2015
bf2d93d
Preallocated dtmin.
uphoffc Nov 16, 2015
6e1958f
Added flop counter to code generator; zero-phase filtering in receive…
uphoffc Nov 18, 2015
0d4c0aa
adding Gocad related scripts and examples
Thomas-Ulrich Nov 27, 2015
2d47674
Enabled flexible memory layouts for local matrices when using attenua…
uphoffc Dec 1, 2015
f86ecf7
Add missing copy right header
Dec 8, 2015
e870610
Add tool to convert 3d velocity fields to netcdf
Dec 17, 2015
4ae16ef
Add option to switch between paraview/seissol output
Jan 4, 2016
a222ac9
a few modification in dxf -> stl converter (use of argparse, solid name)
Thomas-Ulrich Jan 8, 2016
6f8f681
same as previous routine, but netcdf file from SimModeler read instea…
Thomas-Ulrich Jan 13, 2016
b39f6c6
Use CVM-H instead of ASCII files to create background velocity nc file
Jan 22, 2016
abfc7b2
Refactored SConstruct
uphoffc Jan 25, 2016
b5e660f
Small bug fix
Jan 25, 2016
2a81ed3
adding matlab subroutine for writing a symmetrical mesh
Thomas-Ulrich Feb 16, 2016
3eb2dc0
small changes in matlab scripts and in gmsh2gambit
Thomas-Ulrich Feb 19, 2016
4cce002
adding gmsh input file example
Thomas-Ulrich Feb 19, 2016
56a5b25
add test checking existence of mesh file (when dealing with netcdf me…
Thomas-Ulrich Feb 26, 2016
9329e46
Fix cube generation
Feb 26, 2016
0d66839
adding new option to convertDxf2Stl script/ correct minor bug in crea…
Thomas-Ulrich Mar 9, 2016
bdfe20c
mirror_meshing: add groups
Thomas-Ulrich Mar 29, 2016
bea895b
updating Gocad scripts
Thomas-Ulrich Apr 11, 2016
85982b8
small improvement on gocad script
Thomas-Ulrich Apr 12, 2016
920cd44
add matlab script
Thomas-Ulrich May 18, 2016
0105b05
switched to bdx
alheinecke May 28, 2016
fae6ef4
renamed pcl_hsw_ib to pcl_bdx
alheinecke May 28, 2016
3e760b4
added helper scripts for running correctness cornjob
alheinecke May 28, 2016
0e5147a
Merge branch 'master' of https://github.com/SeisSol/SeisSol
alheinecke May 28, 2016
8dc1092
removed temp scripts which were accidentially added
alheinecke May 28, 2016
f7d4f3e
switch from avx-base to turbo queue
alheinecke May 28, 2016
ab75ca4
added cronjob script for cluster correctness checks
alheinecke May 28, 2016
7f7ee2b
cosmetic changes to some python scripts and remove fortran file added…
Thomas-Ulrich Jun 13, 2016
aabd668
Use absolute error instead of relative error in case of 0 reference
uphoffc Jun 27, 2016
83e8a00
update pre and post processing scripts
Thomas-Ulrich Aug 5, 2016
144fd53
Added visualisation output for rconv.
uphoffc Sep 30, 2016
9cee48c
Added visualisation output for rconv.
uphoffc Sep 30, 2016
421eaa0
Small bugfix in rconv
uphoffc Oct 6, 2016
d97119c
Modified gmsh2gambit such that it supports SeisSol 2D
uphoffc Oct 20, 2016
ac78aa7
Fixed g++ issues for gmsh2gambit
uphoffc Oct 21, 2016
dd18369
Added readme for rconv
uphoffc Oct 26, 2016
797d046
Readme update
uphoffc Oct 26, 2016
04d5a77
slight modif to ensure same normal orientation (e.g. for using functi…
Thomas-Ulrich Jan 13, 2017
1c04aee
correct error introduced in previous commit
Thomas-Ulrich Jan 13, 2017
76719fb
Merge with codegen_freeze for unified code generation
uphoffc Jan 25, 2017
ff3cfa2
generalise matlab script mirrow_mesh
swollherr Feb 14, 2017
a3c42ef
add tpv33 gmsh model
Thomas-Ulrich Feb 20, 2017
63c8a1e
Merge branch 'master' into Sumatra_SC
swollherr Feb 21, 2017
a0c666c
Adding new scripts in GocadRelatedScripts
Thomas-Ulrich Mar 1, 2017
f9fd146
adding preprocessing script
Thomas-Ulrich Mar 7, 2017
3d03fb1
modify proj to allow more general projection strings
Thomas-Ulrich Mar 9, 2017
54332a6
using dictionnary in convertTs2Stl.py (before it was slow when too ma…
Thomas-Ulrich Mar 21, 2017
279297f
Adding new scripts in GocadRelatedScripts
Thomas-Ulrich Mar 1, 2017
41452d8
adding preprocessing script
Thomas-Ulrich Mar 7, 2017
f88187a
modify proj to allow more general projection strings
Thomas-Ulrich Mar 9, 2017
afc27bf
using dictionnary in convertTs2Stl.py (before it was slow when too ma…
Thomas-Ulrich Mar 21, 2017
5670d43
fix if receiver file not in the current folder
Thomas-Ulrich Apr 20, 2017
b7e55ab
small fix on scripts
Thomas-Ulrich Apr 20, 2017
bf3f538
precise README.md for rconv
Thomas-Ulrich May 8, 2017
79984ac
precise README.md for rconv (one less \)
Thomas-Ulrich May 8, 2017
1b4b67a
change for compatibility
Thomas-Ulrich May 17, 2017
c1ff281
change for compatibility
Thomas-Ulrich May 17, 2017
e0b4f6a
add script for topo in esri format
Thomas-Ulrich Jun 8, 2017
52d37fc
Merged changes from master
uphoffc Jul 10, 2017
3165c86
update scriptsf for python3.4 compatibility
Thomas-Ulrich Nov 16, 2017
4117554
Changed site_scons folder for rconv
uphoffc Feb 12, 2018
ad7ad70
Changed default coordinate system behaviour for rconv
uphoffc Feb 12, 2018
de3bfed
Changed site_scons folder for rconv
uphoffc Feb 12, 2018
147a5ef
Changed default coordinate system behaviour for rconv
uphoffc Feb 12, 2018
ed8f92c
update scriptsf for python3.4 compatibility
Thomas-Ulrich Nov 16, 2017
759799c
fix bug on flat triangles removal
Thomas-Ulrich Jun 28, 2018
2e72b2d
fix bug on flat triangles removal
Thomas-Ulrich Jun 28, 2018
bfbd58f
Easi is the new master
uphoffc Jun 29, 2018
ba4059a
fix script for python 3
Thomas-Ulrich Jun 29, 2018
c17299c
removing Gocad python script (moved to SeisSol/Meshing)
Thomas-Ulrich Jul 4, 2018
a397e8a
Fixed asagiconv build
uphoffc Aug 2, 2018
ce18db7
Update README.md
daisy20170101 Sep 25, 2018
207d16c
upload an example of 1994 Northbridge earthquake
daisy20170101 Oct 4, 2018
4edea82
an example of 1994 Northridge earthquake
daisy20170101 Oct 4, 2018
8cd91da
Delete planar_northbridge.geo
daisy20170101 Oct 4, 2018
6c08f8e
Delete planar_northridge.geo
daisy20170101 Oct 9, 2018
43161cd
Documentation update
uphoffc Nov 9, 2018
88db608
update gmsh readthedocs and add link to front page
Thomas-Ulrich Jan 22, 2019
aca7c95
fix for dealing with already projected data in rconv
Thomas-Ulrich Feb 19, 2019
16e7785
fix README
Thomas-Ulrich Feb 19, 2019
09af07a
update docu + remove script
Thomas-Ulrich Mar 11, 2019
1b80b95
Fix compilation of cube generator (now finds netcdf).
krenzland Mar 13, 2019
6d640a3
improve rconv installation
Thomas-Ulrich Mar 26, 2019
56e3d8b
allow compiling rconv without proj4
Mar 26, 2019
01ebcb6
update rconv to Carsten changes
Mar 26, 2019
d3d5d52
Fixed a Redeclaration error caused by the multiple use of the variabl…
sebwolf-de Jul 17, 2019
4a9d43d
updating rconv README.md
Oct 10, 2019
64dae95
rename README
Oct 10, 2019
6e7571f
requested changes
Oct 15, 2019
8efdcc2
Replace glm in rconv
sebwolf-de Nov 7, 2019
27a6cc0
Replace glm in asagiconv
sebwolf-de Nov 7, 2019
273ac75
Merge branch 'master' into sebastian/remove-glm
sebwolf-de Nov 7, 2019
f144d7c
Improvements to CMake, small bugfix for elastic-acoustic, add CMake b…
krenzland Feb 12, 2020
ecbee29
fix compiling rconv
Thomas-Ulrich Mar 17, 2020
a648403
fix compiling rconv
Thomas-Ulrich Mar 17, 2020
c4bb300
Merge branch 'thomas/FixRconvCompile' of github.com:SeisSol/SeisSol i…
Mar 27, 2020
a074888
Merge pull request #201 from SeisSol/thomas/FixRconvCompile
Thomas-Ulrich Mar 30, 2020
73d854e
Merge branch 'master' into sebastian/remove-glm
sebwolf-de May 7, 2020
82a564d
Bug fix
sebwolf-de May 15, 2020
3c83801
Merge pull request #216 from SeisSol/sebastian/remove-glm
krenzland May 27, 2020
0a80f67
update rconv installation and documentation (#241)
Thomas-Ulrich Oct 5, 2020
6c68d67
Thomas/sim modeler cad (#243)
Thomas-Ulrich Oct 12, 2020
5ea27f7
Added a search for proj4 via pkg-config for rconv cmake
ravil-mobile Oct 12, 2020
a89424a
Merge pull request #248 from SeisSol/ravil/rconv-cmake
Oct 12, 2020
d171db9
add script to refine temporally and spatially a kinematic model (#258)
Thomas-Ulrich Oct 20, 2020
9d3f239
Thomas/variouschanges (#276)
Thomas-Ulrich Dec 2, 2020
9527be6
cube_c: fixed scons
ravil-mobile Dec 13, 2020
32b2468
Merge pull request #282 from SeisSol/cube_c/scons_fix
krenzland Dec 14, 2020
de0e67c
Add cmake for cube_c
Jan 20, 2021
5bd17ab
Add Log Level to CMakeLists.txt
sebwolf-de Feb 11, 2021
8cefd06
adding some ressources about projections
Thomas-Ulrich Feb 26, 2021
c61d61c
Merge pull request #302 from SeisSol/thomas/Docu_proj
Thomas-Ulrich Mar 4, 2021
5c0cd88
Address Lukas' review
sebwolf-de Jul 12, 2021
7984918
Filter warnings from intel compiler
sebwolf-de Jul 12, 2021
d763c41
Merge branch 'master' into sebastian/cmake_cube_c
sebwolf-de Jul 12, 2021
03fb5b1
Merge pull request #291 from SeisSol/sebastian/cmake_cube_c
krenzland Jul 13, 2021
f023986
make some args required and not default (#366)
Thomas-Ulrich Jul 20, 2021
a9a4df0
FaultPlane class to separate file. add FL33 script
Thomas-Ulrich Jul 29, 2021
d086007
better handle boudaries when upsampling
Thomas-Ulrich Aug 6, 2021
12b6966
add Yoffe function option
Thomas-Ulrich Aug 6, 2021
9827ade
fix slip to m
Thomas-Ulrich Aug 6, 2021
50894ea
refactor
Thomas-Ulrich Sep 14, 2021
93b8978
improve fault upsampling by using latest zoom option. add cm2m
Thomas-Ulrich Sep 15, 2021
38e3289
update argparse of refine_srf
Thomas-Ulrich Sep 15, 2021
e0a7df4
refactor FL33 scripts: consistent upscaling schemes
Thomas-Ulrich Sep 15, 2021
0e8ba45
add missing Yoffe
Thomas-Ulrich Sep 16, 2021
c1ac3ee
fix alignement FL33
Thomas-Ulrich Sep 16, 2021
e9329a8
allow for non square subfaults
Thomas-Ulrich Sep 16, 2021
ee9ef36
account for (minor) correction due to differing area + small fixes
Thomas-Ulrich Sep 17, 2021
bf43b0b
use more precise axis variables for FL33
Thomas-Ulrich Sep 17, 2021
f3ef0ef
FL33: use basename for output files
Thomas-Ulrich Sep 22, 2021
e13fc80
acc_time/effective_duration-> tau_S, tau_R
Thomas-Ulrich Sep 22, 2021
9dc59d4
fix netcdf filename in generated yaml
Thomas-Ulrich Sep 23, 2021
cbaccf3
fix default value effective_rise_time
Thomas-Ulrich Sep 23, 2021
513d9ce
add minimize_block_average_variations option
Thomas-Ulrich Sep 29, 2021
3af606f
improve SR upsampling
Thomas-Ulrich Sep 29, 2021
84f18fc
move sigma of gauss kernel to argparse
Thomas-Ulrich Sep 29, 2021
6e4f964
update python script for FL34
Oct 20, 2021
1b36806
small edits on doc and python script
Oct 20, 2021
6049422
Merge pull request #369 from SeisSol/improveFL33
Thomas-Ulrich Oct 20, 2021
3c526f3
write geometry from FL33 in ts file
Thomas-Ulrich Oct 26, 2021
ca2b72a
Merge pull request #408 from SeisSol/thomas/FL33_write_also_geometry
Thomas-Ulrich Oct 27, 2021
ece9224
Merge pull request #420 from SeisSol/dr/cpp-merge-master
sebwolf-de Nov 12, 2021
e67354f
add threshold option for assessing Yoffe parameters
Thomas-Ulrich Nov 18, 2021
97ff0b1
add misfit as a help for selecting threshold and Yoffe/Gaussian STF
Thomas-Ulrich Nov 18, 2021
07f6b49
address review, and fix possible tr<ts after resampling/interpolation
Thomas-Ulrich Nov 22, 2021
6c1f109
fix issue on computed misfit
Thomas-Ulrich Nov 23, 2021
b120a8f
extend use_Yoffe help
Thomas-Ulrich Dec 2, 2021
a44c2dd
peakSR: change for readability
Thomas-Ulrich Dec 2, 2021
5c5b859
Merge pull request #425 from SeisSol/thomas/improve_assess_Yoffe
krenzland Jan 21, 2022
0cf829a
Merge branch 'master' into dr/merge_master
sebwolf-de Feb 24, 2022
4bcf80c
Ravil/ci (#572)
Jun 9, 2022
5ba7b1b
Merge branch 'master' into dr/cpp
sebwolf-de Jul 14, 2022
74649b8
Merge pull request #623 from SeisSol/dr/merge_master
sebwolf-de Jul 18, 2022
9c40f78
Merge pull request #625 from SeisSol/dr/cpp
Aug 30, 2022
df38341
improved interpolation for FL33
Thomas-Ulrich Nov 18, 2022
f67ae13
fix typo
Thomas-Ulrich Nov 24, 2022
9e12074
Add install target to rconv (#747)
sebwolf-de Dec 2, 2022
8be2654
Updated CI GPU docker image
Dec 22, 2022
64df125
Merge pull request #766 from SeisSol/ravil/graphs
Jan 12, 2023
0e2f086
Merge pull request #1 from vikaskurapati/ITM_Master
vikaskurapati Apr 1, 2023
028c1c5
Remove GambitReader
davschneller Apr 25, 2023
c75bf49
Added additional cube boundary options
May 4, 2023
f724e2a
Fix formatting
May 5, 2023
53d7352
Merge pull request #852 from montrie/cubec_boundaries
krenzland May 5, 2023
59fd20c
Merge branch 'master' into davschneller/no-fortran
davschneller May 5, 2023
4ed721e
Merge pull request #829 from SeisSol/davschneller/no-fortran
davschneller May 17, 2023
a07cce7
Merge branch 'master' into instantaneous-time-mirror
vikaskurapati Aug 17, 2023
bda3bc4
Merge branch 'master' into thomas/improve_FL33_script
Thomas-Ulrich Aug 28, 2023
4778cab
Merge branch 'master' into instantaneous-time-mirror
vikaskurapati Nov 21, 2023
c166d90
document problem with init fault tractions and solution
Thomas-Ulrich Feb 27, 2024
c639b89
Use C++17 standard for rconv
Feb 27, 2024
08ef2ca
Merge pull request #1064 from SeisSol/sebastian/fix-rconv-cpp17
vikaskurapati Feb 27, 2024
144a0c6
Merge branch 'master' into thomas/extract_ini_fault_stress
Thomas-Ulrich Feb 27, 2024
7757635
add output_file option
Thomas-Ulrich Mar 1, 2024
418617d
address review
Thomas-Ulrich Apr 30, 2024
c61fbe4
Include reformatting and reordering
davschneller May 7, 2024
5bc58c5
Merge pull request #1100 from SeisSol/davschneller/gha
davschneller May 7, 2024
d4c9639
Remove old preprocessing/meshing files
davschneller May 31, 2023
2abf0c8
Remove preprocessing/partitioning
davschneller May 31, 2023
30d3ac0
Remove preprocessing/workflow
davschneller May 31, 2023
ecb69a5
Update preprocessing readme
davschneller May 31, 2023
d319ba8
Fix markdownlint
davschneller Dec 2, 2024
46d46da
Remove cube_c submodule clones
davschneller Feb 2, 2025
61bc7d8
Remove asagiconv submodules
davschneller Feb 2, 2025
2c9ee17
Add license identifiers to most already-licensed files
davschneller Mar 3, 2025
35e6b47
Short-cut all other preprocessing/postprocessing files
davschneller Mar 3, 2025
fa56ac5
Remove trailing whitespaces and newlines
davschneller Sep 6, 2025
5e3517e
Fix missing EOLs
davschneller Sep 6, 2025
854a0e3
Add markdownlint to the pre-commits
davschneller Sep 6, 2025
51b8223
Merge pull request #1427 from SeisSol/davschneller/fixes
davschneller Sep 26, 2025
27d5789
Switch some remaining files to first-year copyrighting
davschneller Jan 1, 2026
b717b24
Merge pull request #1480 from SeisSol/davschneller/2026
davschneller Jan 5, 2026
f8e5152
Make rconv more portable
davschneller Feb 25, 2026
f767c46
Remove temporary catchall REUSE file
davschneller Feb 25, 2026
c659bce
Move the two content folders to the base
davschneller Feb 25, 2026
7ebab26
Merge remote-tracking branch 'origin/master' into davschneller/meshin…
davschneller Feb 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Preprocessing
=============

A collection of useful tools for mesh generation and preprocessing for [SeisSol](http://www.seissol.org).
58 changes: 58 additions & 0 deletions meshing/cube_c/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
cmake_minimum_required(VERSION 3.10)

# set the project name
project(cube_c)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

cmake_policy(SET CMP0074 NEW)


add_executable(cubeGenerator src/main.cpp)

#logging
set(LOG_LEVEL "warning" CACHE STRING "Log level for the code")
set(LOG_LEVEL_OPTIONS "debug" "info" "warning" "error")
set_property(CACHE LOG_LEVEL PROPERTY STRINGS ${LOG_LEVEL_OPTIONS})
if("${LOG_LEVEL}" STREQUAL "debug")
target_compile_definitions(cubeGenerator PUBLIC LOG_LEVEL=3)
elseif("${LOG_LEVEL}" STREQUAL "info")
target_compile_definitions(cubeGenerator PUBLIC LOG_LEVEL=2)
elseif("${LOG_LEVEL}" STREQUAL "warning")
target_compile_definitions(cubeGenerator PUBLIC LOG_LEVEL=1)
elseif("${LOG_LEVEL}" STREQUAL "error")
target_compile_definitions(cubeGenerator PUBLIC LOG_LEVEL=0)
endif()

#build and link libraries and executable
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../../cmake" ${CMAKE_MODULE_PATH})
find_package(NetCDF REQUIRED)
target_include_directories(cubeGenerator PUBLIC ${NetCDF_INCLUDE_DIRS})
target_link_libraries(cubeGenerator PUBLIC ${NetCDF_LIBRARY})

find_package(HDF5 REQUIRED
COMPONENTS C HL)
target_include_directories(cubeGenerator PUBLIC ${HDF5_INCLUDE_DIRS})
target_link_libraries(cubeGenerator PUBLIC ${HDF5_C_HL_LIBRARIES} ${HDF5_C_LIBRARIES})

find_package(MPI REQUIRED)
target_link_libraries(cubeGenerator PUBLIC MPI::MPI_C)

find_package(OpenMP REQUIRED)
target_link_libraries(cubeGenerator PUBLIC OpenMP::OpenMP_CXX)

#add some compiler specific flags
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
# using GCC
target_compile_options(cubeGenerator PUBLIC -fopenmp -pedantic $<$<OR:$<COMPILE_LANGUAGE:CXX>,$<COMPILE_LANGUAGE:C>>:-Wall -Wextra -Wno-unused-parameter -Wno-unknown-pragmas>)
target_link_libraries(cubeGenerator PUBLIC "-fopenmp")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
target_compile_options(cubeGenerator PUBLIC -qopenmp -pedantic $<$<OR:$<COMPILE_LANGUAGE:CXX>,$<COMPILE_LANGUAGE:C>>:-Wall -w3 -diag-disable:remark>)
target_link_libraries(cubeGenerator PUBLIC "-qopenmp")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp=libomp -Wall -Wextra -pedantic")
endif()

target_include_directories(cubeGenerator PUBLIC "${PROJECT_SOURCE_DIR}/../../submodules")
45 changes: 45 additions & 0 deletions meshing/cube_c/src/SConscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#! /usr/bin/python
# SPDX-License-Identifier: BSD-3-Clause
##
# @file
# This file is part of SeisSol.
#
# @author Sebastian Rettenberger (rettenbs AT in.tum.de, http://www5.in.tum.de/wiki/index.php/Sebastian_Rettenberger,_M.Sc.)
#
# @section LICENSE
# Copyright (c) 2013, SeisSol Group
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its
# contributors may be used to endorse or promote products derived from this
# software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.

Import('env')

env.sourceFiles.extend(
[env.Object('main.cpp')]
)

Export('env')
Loading