Time variable Dirichlet condition #52

Merged
JorgeGonz merged 8 commits from feature/temporalDirichlet into development 2024-07-13 13:01:11 +02:00
Showing only changes of commit f0a27c0529 - Show all commits

More comments

So if the source vector is being updated every time step, it might be
"easy" to implement these things.
Jorge Gonzalez 2024-07-12 13:17:02 +02:00

View file

@ -49,7 +49,7 @@ MODULE moduleEM
END DO END DO
END SUBROUTINE END SUBROUTINE apply
!Assemble the source vector based on the charge density to solve Poisson's equation !Assemble the source vector based on the charge density to solve Poisson's equation
SUBROUTINE assembleSourceVector(vectorF) SUBROUTINE assembleSourceVector(vectorF)
@ -130,6 +130,7 @@ MODULE moduleEM
ALLOCATE(tempF(1:mesh%numNodes)) ALLOCATE(tempF(1:mesh%numNodes))
!$OMP END SINGLE !$OMP END SINGLE
!TODO: Is this done every time step??? Then things are gonna be really simple.
CALL assembleSourceVector(tempF) CALL assembleSourceVector(tempF)
!$OMP SINGLE !$OMP SINGLE