First step of performance improvement
Finalysing first step of performance improvement focusing on reducing iteration CPU time by improving calculation of basic element functions, which took a lot of the CPU time
This commit is contained in:
parent
7b7a5c45ca
commit
746c5bea09
13 changed files with 260 additions and 252 deletions
|
|
@ -159,8 +159,8 @@ MODULE moduleMeshBoundary
|
|||
newElectron%vol = part%vol
|
||||
newIon%vol = part%vol
|
||||
|
||||
newElectron%xi = mesh%cells(part%vol)%obj%phy2log(newElectron%r)
|
||||
newIon%xi = newElectron%xi
|
||||
newElectron%Xi = mesh%cells(part%vol)%obj%phy2log(newElectron%r)
|
||||
newIon%Xi = newElectron%Xi
|
||||
|
||||
newElectron%weight = part%weight
|
||||
newIon%weight = newElectron%weight
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue