Skip to content

Commit

Permalink
"worked on the 3d-representation of networks"
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhondtguido committed Nov 19, 2023
1 parent b3999c0 commit 89db754
Show file tree
Hide file tree
Showing 10 changed files with 610 additions and 76 deletions.
6 changes: 3 additions & 3 deletions doc/CalculiX.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14481,8 +14481,8 @@ \subsubsection{Turbulent Flow in Open Channels \label{channels}}
form:

\begin{equation}
z_1 + h_1 + \frac{\dot{m}^2}{2 \rho^2 A_1^2 g} =
z_2 + h_2 + \frac{\dot{m}^2}{2 \rho^2 A_2^2 g} + \Delta
z_1 + h_1 \cos \varphi + \frac{\dot{m}^2}{2 \rho^2 A_1^2 g} =
z_2 + h_2 \cos \varphi + \frac{\dot{m}^2}{2 \rho^2 A_2^2 g} + \Delta
F.
\end{equation}

Expand All @@ -14494,7 +14494,7 @@ \subsubsection{Turbulent Flow in Open Channels \label{channels}}
Defining the specific energy $E$ by:

\begin{equation}
E := h + \frac{Q^2}{2 A^2 g},
E := h \cos \varphi + \frac{Q^2}{2 A^2 g},
\end{equation}

one can write the above equation as $z_1 + E_1 = z_2 + E_2 + \Delta F$, from
Expand Down
2 changes: 1 addition & 1 deletion src/CalculiX.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ int main(int argc,char *argv[])
printf("software, and you are welcome to redistribute it under\n");
printf("certain conditions, see gpl.htm\n\n");
printf("************************************************************\n\n");
printf("You are using an executable made on Sat Nov 11 17:01:27 CET 2023\n");
printf("You are using an executable made on Sun Nov 19 13:29:22 CET 2023\n");
fflush(stdout);

NNEW(ipoinp,ITG,2*nentries);
Expand Down
3 changes: 2 additions & 1 deletion src/CalculiX.h
Original file line number Diff line number Diff line change
Expand Up @@ -1677,7 +1677,8 @@ void FORTRAN (flowoutput,(ITG *itg,ITG *ieg,ITG *ntg,ITG *nteq,
ITG *iendset,ITG *ialset,ITG *nset,ITG *mi,
ITG *iaxial,ITG *istep,ITG *iit,ITG *ipobody,
ITG *ibody,double *xbodyact,ITG *nbody,ITG *ndata,
double *sfr,double *sba,ITG *jumpup,ITG *jumpdo));
double *sfr,double *sba,ITG *jumpup,ITG *jumpdo,
double *hfr,double *hba));

void FORTRAN(flowbc,(ITG *ntg,ITG *itg,double *cam,double *vold,
double *v,
Expand Down
2 changes: 1 addition & 1 deletion src/CalculiXstep.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ void CalculiXstep(int argc,char argv[][133],ITG **nelemloadp,double **xloadp,
printf("software, and you are welcome to redistribute it under\n");
printf("certain conditions, see gpl.htm\n\n");
printf("************************************************************\n\n");
printf("You are using an executable made on Sat Nov 11 17:01:27 CET 2023\n");
printf("You are using an executable made on Sun Nov 19 13:29:22 CET 2023\n");
fflush(stdout);

NNEW(ipoinp,ITG,2*nentries);
Expand Down
1 change: 1 addition & 0 deletions src/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ forcadd.f \
forcesolve.f \
frdfluidfem.f \
frditeration.f \
frdnet.f \
free_convection.f \
free_disc_pumping.f \
frequencys.f \
Expand Down
18 changes: 9 additions & 9 deletions src/Makefile_i8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

CFLAGS = -Wall -O2 -fopenmp -fpic -I ../SPOOLES.2.2 -I$(PASTIX_INCLUDE) -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DINTSIZE64 -DPASTIX -DPASTIX_FP32 -DPASTIX_GPU
CFLAGS = -Wall -O2 -fopenmp -fpic -I ../../SPOOLES.2.2 -I$(PASTIX_INCLUDE) -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DINTSIZE64 -DPASTIX -DPASTIX_FP32 -DPASTIX_GPU
FFLAGS = -Wall -O2 -fopenmp -fpic -fdefault-integer-8

CC=cc
Expand All @@ -18,20 +18,20 @@ OCCXF = $(SCCXF:.f=.o)
OCCXC = $(SCCXC:.c=.o)
OCCXMAIN = $(SCCXMAIN:.c=.o)

DIR=../SPOOLES.2.2
DIR=../../SPOOLES.2.2

PASTIX_INCLUDE = ../PaStiX/pastix_i8/include
PASTIX_LIBS = ../PaStiX/hwloc_i8/lib64/libhwloc.so ../OpenBLAS_i8/lib/libopenblas.a \
../PaStiX/pastix_i8/lib/libpastix.a ../OpenBLAS_i8/lib/libopenblas.a -lpthread -lm ../PaStiX/pastix_i8/lib/libspm.a \
../PaStiX/pastix_i8/lib/libpastix_parsec.a ../PaStiX/pastix_i8/lib/libpastix_kernels.a ../OpenBLAS_i8/lib/libopenblas.a -lrt \
../PaStiX/pastix_i8/lib/libpastix_kernels_cuda.a ../PaStiX/parsec_i8/lib/libparsec.so \
PASTIX_INCLUDE = ../../PaStiX/pastix_i8/include
PASTIX_LIBS = ../../PaStiX/hwloc_i8/lib64/libhwloc.so ../../OpenBLAS_i8/lib/libopenblas.a \
../../PaStiX/pastix_i8/lib/libpastix.a ../../OpenBLAS_i8/lib/libopenblas.a -lpthread -lm ../../PaStiX/pastix_i8/lib/libspm.a \
../../PaStiX/pastix_i8/lib/libpastix_parsec.a ../../PaStiX/pastix_i8/lib/libpastix_kernels.a ../../OpenBLAS_i8/lib/libopenblas.a -lrt \
../../PaStiX/pastix_i8/lib/libpastix_kernels_cuda.a ../../PaStiX/parsec_i8/lib/libparsec.so \
/usr/local/cuda-10.2/lib64/libcudart_static.a -lpthread -ldl -lrt /usr/lib64/libcublas_static.a \
/usr/local/cuda-10.2/lib64/libculibos.a /usr/lib64/libcublasLt_static.a -lrt \
../PaStiX/scotch_i8/lib/libscotch.a ../PaStiX/scotch_i8/lib/libscotcherrexit.a -lpthread -lz -lm /usr/lib64/libstdc++.so.6 /usr/lib64/libgomp.so.1
../../PaStiX/scotch_i8/lib/libscotch.a ../../PaStiX/scotch_i8/lib/libscotcherrexit.a -lpthread -lz -lm /usr/lib64/libstdc++.so.6 /usr/lib64/libgomp.so.1

LIBS = \
$(DIR)/spooles.a \
../ARPACK_i8/libarpack_INTEL_i8.a \
../../ARPACK_i8/libarpack_INTEL_i8.a \
$(PASTIX_LIBS) \
-lpthread -lm -lc

Expand Down
Loading

0 comments on commit 89db754

Please sign in to comment.