Skip to content

Commit

Permalink
Add allowed symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhinder committed Apr 3, 2012
1 parent 8498976 commit c869e06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Tools/CodeGen/CalculationFunction.m
Expand Up @@ -144,7 +144,8 @@ indentation after each line break (this will push the line length
PartialDerivatives, PreDefinitions, Schedule,Equations,
Shorthands, ConditionalOnKeyword, Before, After,
ConditionalOnTextuals, Where, ConditionalOnKeywords,
CollectList, AllowedSymbols, ApplyBCs, Conditional, CachedVariables, SplitBy};
CollectList, AllowedSymbols, ApplyBCs, Conditional, CachedVariables, SplitBy,
SeparatedDerivatives, LocalGroups};

usedKeys = Map[First, calc];
unknownKeys = Complement[usedKeys, allowedKeys];
Expand Down
3 changes: 2 additions & 1 deletion Tools/CodeGen/Kranc.m
Expand Up @@ -43,7 +43,7 @@
Everywhere, normal1, normal2, normal3, INV, SQR, CUB, QAD, dot, pow,
exp, dt, dx, dy, dz, idx, idy, idz, t, MinMod, VanLeer, BodyFunction,
CallerFunction, LoopFunction, GFAccessFunction, InitFDVariables,
MacroPointer, CachedVariables, SplitBy}
MacroPointer, CachedVariables, SplitBy, SeparatedDerivatives}

{ConditionalOnKeyword, ConditionalOnKeywords, CollectList, Interior,
InteriorNoSync, Boundary, BoundaryWithGhosts, Where, PreDefinitions,
Expand Down Expand Up @@ -94,6 +94,7 @@
ExecuteOn;
Device;
Host;
LocalGroups;

(* Thorn.m *)

Expand Down

0 comments on commit c869e06

Please sign in to comment.