-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug on BW eos for density by 1, bypass brine contribution if conc…
…entration field is not specified and 2, give default values to T0, P0 and C0 if not initiated in diamond
- Loading branch information
Ruixiao V Liu
authored and
Ruixiao V Liu
committed
Nov 15, 2024
1 parent
97b12b8
commit 661f12c
Showing
1,518 changed files
with
167,433 additions
and
33 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The system is: Linux - 5.15.0-122-generic - x86_64 | ||
The system is: Linux - 5.15.0-122-generic - x86_64 |
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,15 @@ | ||
set(CMAKE_HOST_SYSTEM "Linux-5.15.0-122-generic") | ||
set(CMAKE_HOST_SYSTEM_NAME "Linux") | ||
set(CMAKE_HOST_SYSTEM_VERSION "5.15.0-122-generic") | ||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") | ||
|
||
|
||
|
||
set(CMAKE_SYSTEM "Linux-5.15.0-122-generic") | ||
set(CMAKE_SYSTEM_NAME "Linux") | ||
set(CMAKE_SYSTEM_VERSION "5.15.0-122-generic") | ||
set(CMAKE_SYSTEM_PROCESSOR "x86_64") | ||
|
||
set(CMAKE_CROSSCOMPILING "FALSE") | ||
|
||
set(CMAKE_SYSTEM_LOADED 1) |
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,95 @@ | ||
# Copyright (C) 2006 Imperial College London and others. | ||
# | ||
# Please see the AUTHORS file in the main source directory for a full list | ||
# of copyright holders. | ||
# | ||
# Prof. C Pain | ||
# Applied Modelling and Computation Group | ||
# Department of Earth Science and Engineering | ||
# Imperial College London | ||
# | ||
# [email protected] | ||
# | ||
# This library is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU Lesser General Public | ||
# License as published by the Free Software Foundation, | ||
# version 2.1 of the License. | ||
# | ||
# This library 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 | ||
# Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public | ||
# License along with this library; if not, write to the Free Software | ||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
# USA | ||
SHELL = /bin/bash | ||
PACKAGE_NAME = fluidity | ||
|
||
FLUIDITY = $(PACKAGE_NAME) | ||
FC = mpif90 | ||
FCFLAGS = -ffast-math -frecord-marker=4 -I/usr/include -DHAVE_NUMPY -I/home/rl420/ICFERST1/multifluids_icferst/venv/lib/python3.8/site-packages/numpy/core/include -fno-realloc-lhs -ffree-line-length-none -ffixed-line-length-none -O3 -I/usr/lib/petscdir/petsc3.12/x86_64-linux-gnu-real/include -I/usr/include/hypre -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/superlu-dist -I/usr/include/scotch -I/usr/include/hdf5/openmpi -I/home/rl420/ICFERST2_new_master/multifluids_icferst/include/ -fdefault-real-8 -fdefault-double-8 | ||
|
||
MPIF90 = mpif90 | ||
MPICC = mpicc | ||
MPICXX = mpicxx | ||
|
||
CC = mpicc | ||
CFLAGS = -I/usr/include -I/usr/include/python3.8 -DHAVE_NUMPY -I/home/rl420/ICFERST1/multifluids_icferst/venv/lib/python3.8/site-packages/numpy/core/include -I/usr/lib/petscdir/petsc3.12/x86_64-linux-gnu-real/include -I/usr/include/hypre -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/superlu-dist -I/usr/include/scotch -I/usr/include/hdf5/openmpi -I/home/rl420/ICFERST2_new_master/multifluids_icferst/include/ -DHAVE_PETSC -I/usr/include/vtk-7.1 -I/usr/include/freetype2 -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/python3.8 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/libxml2 -I/usr/include/tcl -DHAVE_VTK -I/usr/include/python3.8 -DHAVE_NUMPY -I/home/rl420/ICFERST1/multifluids_icferst/venv/lib/python3.8/site-packages/numpy/core/include -O3 | ||
|
||
CXX = mpicxx | ||
CXXFLAGS= -I/usr/include -I/usr/include/python3.8 -DHAVE_NUMPY -I/home/rl420/ICFERST1/multifluids_icferst/venv/lib/python3.8/site-packages/numpy/core/include -I/usr/lib/petscdir/petsc3.12/x86_64-linux-gnu-real/include -I/usr/include/hypre -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/superlu-dist -I/usr/include/scotch -I/usr/include/hdf5/openmpi -I/home/rl420/ICFERST2_new_master/multifluids_icferst/include/ -DHAVE_PETSC -I/usr/include/vtk-7.1 -I/usr/include/freetype2 -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/python3.8 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/libxml2 -I/usr/include/tcl -DHAVE_VTK -I/usr/include/python3.8 -DHAVE_NUMPY -I/home/rl420/ICFERST1/multifluids_icferst/venv/lib/python3.8/site-packages/numpy/core/include -O3 -I./include | ||
|
||
LINKER = mpicxx -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions $(CXXFLAGS) | ||
|
||
FLLINKER = mpif90 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions $(FCFLAGS) | ||
|
||
MAKE = make | ||
AR = ar | ||
ARFLAGS = cr | ||
|
||
OBJS = $(shell find . -mindepth 2 -maxdepth 2 -name '*.c' -o -name '*.cpp' -o -name '*.[fF]' -o -name '*.F90' | grep -v ^./lib | xargs) | ||
|
||
.SUFFIXES: .f90 .F90 .c .cpp .o .a | ||
|
||
.f90.o: | ||
@echo " FC $<" | ||
$(FC) $(FCFLAGS) -c $< | ||
.F90.o: | ||
@echo " FC $<" | ||
$(FC) $(FCFLAGS) -c $< | ||
.c.o: | ||
@echo " CC $<" | ||
$(CC) $(CFLAGS) -c $< | ||
.cpp.o: | ||
@echo " CXX $<" | ||
$(CXX) $(CXXFLAGS) -c $< | ||
|
||
default: lib/libmphase.a main.o | ||
|
||
# cancel implicit rule that tries to make .o from .mod with m2c: | ||
%.o: %.mod | ||
|
||
lib/libmphase.a: $(OBJS) | ||
@echo "BUILD libmphase" | ||
@echo " MKDIR lib" | ||
@mkdir -p lib | ||
@echo " MAKE src" | ||
@cd src; $(MAKE) | ||
@$(AR) $(ARFLAGS) lib/libmphase.a src/*.o | ||
|
||
clean: | ||
@rm -f *.o *.d include/*.mod $(PROG_EXEC) lib/*.a | ||
@rm -rf bin/ | ||
@cd src; make clean | ||
@cd tests; PYTHONPATH=../python ../tools/testharness_ICFERST.py --clean >/dev/null | ||
@cd unittest; make clean | ||
|
||
|
||
build_unittest: lib/libmphase.a | ||
@cd unittest; $(MAKE) | ||
|
||
unittest: build_unittest | ||
@echo "RUN bin/tests" | ||
@../bin/unittestharness bin/tests |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,85 @@ | ||
# Copyright (C) 2006 Imperial College London and others. | ||
# | ||
# Please see the AUTHORS file in the main source directory for a full list | ||
# of copyright holders. | ||
# | ||
# Prof. C Pain | ||
# Applied Modelling and Computation Group | ||
# Department of Earth Science and Engineering | ||
# Imperial College London | ||
# | ||
# [email protected] | ||
# | ||
# This library is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU Lesser General Public | ||
# License as published by the Free Software Foundation, | ||
# version 2.1 of the License. | ||
# | ||
# This library 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 | ||
# Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public | ||
# License along with this library; if not, write to the Free Software | ||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
# USA | ||
SHELL = /bin/bash | ||
PACKAGE_NAME = fluidity | ||
|
||
FLUIDITY = $(PACKAGE_NAME) | ||
FC = mpif90 | ||
FCFLAGS = -I../../include -I../include -J../include -I/usr/include -I/usr/include/python3.8 -DHAVE_NUMPY -I/home/rl420/ICFERST1/multifluids_icferst/venv/lib/python3.8/site-packages/numpy/core/include -I/usr/lib/petscdir/petsc3.12/x86_64-linux-gnu-real/include -I/usr/include/hypre -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/superlu-dist -I/usr/include/scotch -I/usr/include/hdf5/openmpi -I/home/rl420/ICFERST2_new_master/multifluids_icferst/include/ -DHAVE_PETSC -I/usr/include/vtk-7.1 -I/usr/include/freetype2 -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/python3.8 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/libxml2 -I/usr/include/tcl -DHAVE_VTK -ffast-math -frecord-marker=4 -I/usr/include -DHAVE_NUMPY -I/home/rl420/ICFERST1/multifluids_icferst/venv/lib/python3.8/site-packages/numpy/core/include -fno-realloc-lhs -ffree-line-length-none -ffixed-line-length-none -O3 -I/usr/lib/petscdir/petsc3.12/x86_64-linux-gnu-real/include -I/usr/include/hypre -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/superlu-dist -I/usr/include/scotch -I/usr/include/hdf5/openmpi -I/home/rl420/ICFERST2_new_master/multifluids_icferst/include/ -fdefault-real-8 -fdefault-double-8 -I/usr/local/include -I./ | ||
|
||
MPIF90 = mpif90 | ||
|
||
CC = mpicc | ||
CFLAGS = -I/usr/include -I/usr/include/python3.8 -DHAVE_NUMPY -I/home/rl420/ICFERST1/multifluids_icferst/venv/lib/python3.8/site-packages/numpy/core/include -I/usr/lib/petscdir/petsc3.12/x86_64-linux-gnu-real/include -I/usr/include/hypre -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/superlu-dist -I/usr/include/scotch -I/usr/include/hdf5/openmpi -I/home/rl420/ICFERST2_new_master/multifluids_icferst/include/ -DHAVE_PETSC -I/usr/include/vtk-7.1 -I/usr/include/freetype2 -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/python3.8 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/libxml2 -I/usr/include/tcl -DHAVE_VTK -I/usr/include/python3.8 -DHAVE_NUMPY -I/home/rl420/ICFERST1/multifluids_icferst/venv/lib/python3.8/site-packages/numpy/core/include -O3 -I../include -I/usr/local/include | ||
|
||
CXX = mpicxx | ||
CXXFLAGS= -I/usr/include -I/usr/include/python3.8 -DHAVE_NUMPY -I/home/rl420/ICFERST1/multifluids_icferst/venv/lib/python3.8/site-packages/numpy/core/include -I/usr/lib/petscdir/petsc3.12/x86_64-linux-gnu-real/include -I/usr/include/hypre -I/usr/include/suitesparse -I/usr/include/superlu -I/usr/include/superlu-dist -I/usr/include/scotch -I/usr/include/hdf5/openmpi -I/home/rl420/ICFERST2_new_master/multifluids_icferst/include/ -DHAVE_PETSC -I/usr/include/vtk-7.1 -I/usr/include/freetype2 -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/python3.8 -I/usr/include/hdf5/openmpi -I/usr/include/jsoncpp -I/usr/include/libxml2 -I/usr/include/tcl -DHAVE_VTK -I/usr/include/python3.8 -DHAVE_NUMPY -I/home/rl420/ICFERST1/multifluids_icferst/venv/lib/python3.8/site-packages/numpy/core/include -O3 -I../include -I/usr/local/include | ||
|
||
LINKER = mpicxx -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions | ||
|
||
MAKE = make | ||
|
||
AR = ar | ||
ARFLAGS = cr | ||
|
||
OBJS_PREDIAGNOSTICS = Extract_From_State.o multi_matrix_operations.o \ | ||
multi_shape_fct_ND.o multi_shape_fct.o multi_sparsity.o multi_eos.o cv-adv-dif.o multi_solvers.o \ | ||
multi_compositional.o multi_dyncore_dg.o \ | ||
multi_interpolation.o \ | ||
|
||
OBJS_POSTDIAGNOSTICS = Multiphase_TimeLoop.o Multiphase_Prototype_Wrapper.o | ||
|
||
.SUFFIXES: .f90 .F90 .c .cpp .o .a | ||
|
||
.f90.o: | ||
@echo " FC $<" | ||
@ mkdir -p ../include | ||
$(FC) $(FCFLAGS) $(GENFLAGS) -c $< | ||
.F90.o: | ||
@echo " FC $<" | ||
@ mkdir -p ../include | ||
$(FC) $(FCFLAGS) $(GENFLAGS) -c $< | ||
.c.o: | ||
@echo " CC $<" | ||
$(CC) $(CFLAGS) -c $< | ||
.cpp.o: | ||
@echo " CXX $<" | ||
$(CXX) $(CXXFLAGS) -c $< | ||
|
||
default: $(OBJS_PREDIAGNOSTICS) $(OBJS_POSTDIAGNOSTICS) | ||
|
||
pre_diagnostics: $(OBJS_PREDIAGNOSTICS) | ||
|
||
post_diagnostics: $(OBJS_POSTDIAGNOSTICS) | ||
|
||
# cancel implicit rule that tries to make .o from .mod with m2c: | ||
%.o: %.mod | ||
|
||
clean: | ||
@rm -f *.o *.d *.mod $(PROG_EXEC) | ||
|
||
include Makefile.dependencies |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.