Navigation Menu

Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Use previous BCs in hyperbolic cleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Mar 26, 2010
1 parent 9c2a7ec commit 0bed996
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pyrticle/hyperbolic.py
Expand Up @@ -126,10 +126,7 @@ def op_template(self):
pec_phi = BoundarizeOperator(pec_tag)(phi)
pec_n = make_normal(pec_tag, self.maxwell_op.dimensions)

from hedge.tools import log_shape

from hedge.tools import ptwise_dot
bc = "invent"
bc = "prev"
print "HYP CLEAN BC", bc
if bc == "char":
# see hedge/doc/maxima/eclean.mac for derivation
Expand All @@ -142,7 +139,7 @@ def op_template(self):

1/2*(pec_phi+numpy.dot(pec_n, pec_e))
)
if bc == "invent":
elif bc == "invent":
# see hedge/doc/maxima/eclean.mac for derivation
pec_bc = join_fields(
-pec_e
Expand Down

0 comments on commit 0bed996

Please sign in to comment.