Skip to content

Vamr final - #1330

Open
MaxenceAnt wants to merge 150 commits into
fmihpc:devfrom
MaxenceAnt:vamr-final
Open

Vamr final#1330
MaxenceAnt wants to merge 150 commits into
fmihpc:devfrom
MaxenceAnt:vamr-final

Conversation

@MaxenceAnt

Copy link
Copy Markdown

New vamr version

Modification of
 blockContainer->getParameters(popID)
 to 
blockContainer->getParameters()

The previous version caused problems when computing dt for more than one population, as this could result in extremely low values.
The adjustVelocityBlocks in the subcycle loop has been modified for acceleration. The previous version caused "bailing out at vlasovsolver/cpu_acc_map.cpp". 
The new version may slightly increase computational time if there are a lot of subcycles.
The way in which the velocity blocks are adjusted in the acceleration part has been modified to ensure that they are always updated for all cells in the first step. 
Before we were adjusting the velocity blocks only for the cells that need to be accelerated in a more than one step process (i.e. at least 2 subcycles), so that means not all the cells. And when we adjust the cells, the first step is to update its velocity block information. And then we share this information between neighbouring spatial cells. BUT if the neighbour cells are not in the cells that need to do a two step process, it is not updated, and if we have 2 species with different velocity grids, the shared value will be the one of the old species. Meaning that we share false and out of bound information.
Merging the Vamr with vlasiator-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant