[aspect-devel] inconsistency in use of x, y, and z

Jonathan Perry-Houts jperryh2 at uoregon.edu
Wed Mar 11 12:43:45 PDT 2015


A new macro syntax might be a good topic to discuss at the hackathon. I
suspect coming up with/implementing something new would be more trouble
than its worth. I'll look in to existing libraries that might help.

On 03/11/2015 12:24 PM, Wolfgang Bangerth wrote:
> On 03/11/2015 01:21 PM, Jonathan Perry-Houts wrote:
>> That said, I don't know that building a preprocessor in to Aspect would
>> be more useful than just doing it through gcc. One thing that would make
>> it easier would to allow Aspect to accept .prm files from stdin rather
>> than a file. Maybe I'll do that, now that I think about it.
> 
> If you did, you can liberate yourself from the arcane syntax of the C
> preprocessor and simply invent your own syntax that, hopefully, fits
> better into the general syntax of .prm files :-)
> 
> Feel free to discuss what syntax you want before implementing it.
> 
> (You get extra bonus points if you were to implement this directly in
> the ParameterHandler class, rather than as a *pre*processor. But that
> might require more work than you're willing to do and I understand that.)
> 
> Best
>  W.
> 

-- 
Jonathan Perry-Houts
Ph.D. Candidate
Department of Geological Sciences
1272 University of Oregon
Eugene, OR 97403-1272

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 538 bytes
Desc: OpenPGP digital signature
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20150311/55a73aec/attachment.sig>


More information about the Aspect-devel mailing list