Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionosphere commits #56

Open
wants to merge 40 commits into
base: ionosphere
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e354eac
Bumper commit of [] -> .at() in ionosphere.cpp.
ykempf Feb 22, 2022
3333680
Add a check for a node not coupling, not hitting the 88 degree check,…
ykempf Feb 22, 2022
56e0020
Allow to set a time interval at which the ionosphere gets updated. De…
ykempf Feb 22, 2022
5462ca0
Some initialisations of arrays explicitly to zero for peace of mind, …
ykempf Feb 22, 2022
39498b2
ENable/disable or toggle at every restart the minimum residual variant.
ykempf Feb 22, 2022
a62574f
Reset fsgrid coupling before computing it to be able to drop nodes th…
ykempf Feb 22, 2022
93223d6
C comment instead of misused hash symbol.
ykempf Feb 23, 2022
f2b9abd
Minus sign in E = -grad(potential).
ykempf Feb 23, 2022
f3a77b0
Fix to L-shell calculation for corotational electric field.
ykempf Feb 23, 2022
42b1241
Merge branch 'ionosphere' of github.com:ursg/vlasiator into ionospher…
ykempf Feb 23, 2022
c32b373
Merge branch 'ionosphere' of github.com:ursg/vlasiator into ionospher…
ykempf Feb 28, 2022
9d80c1c
Potential bugfix when reading in FACs.
ykempf Feb 28, 2022
904604f
NO+ has mass 30 and not 31.
ykempf Feb 28, 2022
195d207
INC fixes to ionosphere miniapps' Makefile.
ykempf Mar 1, 2022
0193d9c
Merge branch 'ionosphere' of github.com:ursg/vlasiator into ionospher…
ykempf Mar 2, 2022
d8a6d12
Make parallel conductivity in Ridley model a parameter.
ykempf Mar 3, 2022
6b23f88
Fix order of sums and products in conductivity integration.
ykempf Mar 3, 2022
22c3cdb
Fix table lookup indexing once more.
ykempf Mar 7, 2022
99bfcc2
Fixed ig_latitude.
ykempf Mar 7, 2022
693e42a
Merge branch 'ionosphere' of github.com:ursg/vlasiator into ionospher…
ykempf Mar 8, 2022
3c9bba4
Merge branch 'ionosphere' of github.com:ursg/vlasiator into ionospher…
ykempf Mar 22, 2022
36decb2
Ionosphere solver report to logfile.
ykempf Mar 22, 2022
3c91ddf
Typo fix
ykempf Mar 22, 2022
a3567be
Merge branch 'ionosphere' of github.com:ykempf/vlasiator into ionosph…
ykempf Mar 22, 2022
25693c0
Do not zero out all ionosphere variables when restarting.
ykempf Mar 30, 2022
62b5b65
Added DROs for all fg derivatives.
ykempf Mar 30, 2022
8031665
New scheme for the ionosphere Vlasov boundary condition.
ykempf Mar 30, 2022
bdbbff0
Improved ionosphere reporting to logfile.
ykempf Apr 6, 2022
f0450bb
Function changes supporting the N and S hemisphere potential reporting.
ykempf Apr 6, 2022
21f43b6
Update Vlasov boundary every coupling interval, like the ionosphere i…
ykempf Apr 6, 2022
5ad350f
Boundary derivatives fix: set all derivatives to zero in layer 2.
ykempf Apr 6, 2022
daa9e51
Don't solve again at restart if the coupling interval is > 0.
ykempf Apr 6, 2022
6541f52
Merge branch 'ionosphere' of github.com:ursg/vlasiator into ionospher…
ykempf Apr 6, 2022
2df9583
Merge branch 'ionosphere' of github.com:ursg/vlasiator into ionospher…
ykempf Apr 6, 2022
f37916d
Merge branch 'ionosphere' of github.com:ursg/vlasiator into ionospher…
ykempf Apr 7, 2022
bca6c47
blank after merge
ykempf Apr 7, 2022
df3ca0b
Merge branch 'ionosphere' of github.com:ursg/vlasiator into ionospher…
ykempf Apr 7, 2022
30e683d
Fix AMR bug for single task
lkotipal Apr 1, 2022
3082a5f
-g to Makefile.
ykempf May 2, 2022
0fc41a1
Sorting of summations in ionosphere solver.
ykempf May 2, 2022
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
2 changes: 1 addition & 1 deletion MAKE/Makefile.mahti_gcc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ FLAGS =
CC_BRAND = gcc
CC_BRAND_VERSION = 9.3.0
CXXFLAGS += -g -O3 -fopenmp -funroll-loops -std=c++17 -W -Wall -Wno-unused -fabi-version=0 -march=native -mfma -mavx2
testpackage: CXXFLAGS = -O2 -fopenmp -funroll-loops -std=c++17 -fabi-version=0 -mfma
testpackage: CXXFLAGS = -g -O2 -fopenmp -funroll-loops -std=c++17 -fabi-version=0 -mfma

MATHFLAGS = -ffast-math
LDFLAGS = -lrt
Expand Down
27 changes: 9 additions & 18 deletions ioread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,25 +247,14 @@ bool readNBlocks(vlsv::ParallelReader& file,const std::string& meshName,

uint64_t N_spatialCells = 0;

if(N_domains == 1) {
int64_t* domainInfo = NULL;
if (file.read("MESH_DOMAIN_SIZES",attribsIn,0,N_domains,domainInfo) == false) return false;

if (file.read("MESH_BBOX",attribsIn,0,6,bbox_ptr,false) == false) return false;

// Resize the output vector and init to zero values
N_spatialCells = bbox[0]*bbox[1]*bbox[2];

} else {

int64_t* domainInfo = NULL;
if (file.read("MESH_DOMAIN_SIZES",attribsIn,0,N_domains,domainInfo) == false) return false;
for (uint i_domain = 0; i_domain < N_domains; ++i_domain) {

N_spatialCells += domainInfo[2*i_domain];

for (uint i_domain = 0; i_domain < N_domains; ++i_domain) {

N_spatialCells += domainInfo[2*i_domain];

}

}
}

nBlocks.resize(N_spatialCells);

Expand Down Expand Up @@ -1159,7 +1148,9 @@ bool exec_readGrid(dccrg::Dccrg<SpatialCell,dccrg::Cartesian_Geometry>& mpiGrid,
phiprof::stop("readScalars");

phiprof::start("readDatalayout");
if (success == true) success = readCellIds(file,fileCells,MASTER_RANK,MPI_COMM_WORLD);
if (success) {
success = readCellIds(file,fileCells,MASTER_RANK,MPI_COMM_WORLD);
}

// Check that the cellID lists are identical in file and grid
if (myRank==0){
Expand Down
Loading