Implementation of different distribution functions for velocities.

Maxwellian and Diract Delta distributions have been implemented.

The input for injection of particles should be rewritten to allow more
clear input file.
This commit is contained in:
Jorge Gonzalez 2020-12-13 13:56:48 +01:00
commit 37b0139b1f
37 changed files with 252 additions and 5497 deletions

View file

@ -1,21 +1,26 @@
# compiler
FC := gfortran
# set folders
TOPDIR = $(PWD)# top directory
MODDIR := $(TOPDIR)/mod# module folder
OBJDIR := $(TOPDIR)/obj# object folder
SRCDIR := $(TOPDIR)/src# source folder
JSONDIR := $(TOPDIR)/json-fortran-8.2.0/build
# compiler
# gfortran:
FC := gfortran
JSONDIR := $(TOPDIR)/json-fortran-8.2.0/build-gfortran
# ifort:
# FC := ifort
# JSONDIR := $(TOPDIR)/json-fortran-8.2.0/build-ifort
JSONLIB := $(JSONDIR)/lib/libjsonfortran.a
JSONINC := $(JSONDIR)/include
INCDIR :=
INCDIR += $(JSONINC)
VAR := ""
# compile flags
FCFLAGS := -fopenmp -Ofast -J $(MODDIR) -I $(INCDIR) -Wall -g
# compiler flags
# gfortran:
FCFLAGS := -fopenmp -Ofast -J $(MODDIR) -I $(INCDIR) -Wall -march=native -g
# ifort:
# FCFLAGS := -qopenmp -Ofast -xHost -module $(MODDIR) -I $(INCDIR) -warn all -parallel -free -g
#Output file
OUTPUT = fpakc