Skip to content

Commit

Permalink
Allow using PD in Everywhere calculations with DGFE
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Feb 20, 2012
1 parent 4009a8b commit a6d92e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/CodeGen/CalculationFunction.m
Expand Up @@ -759,7 +759,7 @@ pathalogical enough (e.g. {s1 -> s2, s2 -> s1} would not be
CheckStencil[pddefs, eqs, functionName, OptionValue[ZeroDimensions],
lookup[{opts}, IntParameters, {}]],

If[where === Everywhere && MatchQ[stencilSize, {0,0,0}] =!= True,
If[where === Everywhere && !OptionValue[UseDGFE] && MatchQ[stencilSize, {0,0,0}] =!= True,
ThrowError["Calculation "<>functionName<>" uses derivative operators but is computed Everywhere. Specify Where -> Interior for calculations that use derivative operators."]];
"\n",

Expand Down

0 comments on commit a6d92e9

Please sign in to comment.