Open Batmanabcdefg opened 4 years ago
Periodic boundary condition requires special treatment. I will add it later on.
Periodic boundary condition requires special treatment. I will add it later on.
Is it worth adding it maybe for a future student project?
@Batmanabcdefg do you still need this? If not using Long's cryptic sparse matrix manipulation. A simple tweak based on the current data structure would be (let us assume only left and right are periodical the rest is the Dirichlet):
Dirichlet
as bc.M x 2
array.freeNode
.accumarray
using the index pair from step 2.A more ifem
ish change would be changing the number indicator in the bdFlag
tradition, for example, 4
represents the BC are periodical there.
Hello! so far it seems that the periodic boundary conditions are not applied for CahnHillard Benchmark?
Best regards!