Computational Science Technical Note CSTN-187

CSTN Home

Simulation Software Generation using a Domain-Specific Language for Partial Differential Field Equations

K. A. Hawick and D. P. Playne

Archived: 2013

Abstract

Domain-specific language techniques can considerably lower the software development effort and time required for problems in computational science and engineering. We describe our domain specific language for field-based partial differential equation simulations and show how it can address a whole family of such problems. Our system requires minimal effort to generate C++ software for a new equation model, but also dramatically lowers the effort needed to generate code in a different output language. We report on the lines of code for several example problems discuss software engineering implications of this automatic code generation approach.

Keywords: generative programming; DSL; partial differential equation

Full Document Text: PDF version.

Citation Information: BiBTeX database for CSTN Notes.

BiBTeX reference:

@INPROCEEDINGS{CSTN-187,
        author = {K. A. Hawick and D. P. Playne},
        title = {Simulation Software Generation using a Domain-Specific Language for
                Partial Differential Field Equations},
        booktitle = {11th International Conference on Software Engineering Research and
                Practice (SERP'13)},
        year = {2013},
        number = {CSTN-187},
        pages = {SER3829},
        address = {Las Vegas, USA},
        month = {22-25 July},
        publisher = {WorldComp},
        institution = {Computer Science, Massey University, Auckland, New Zealand},
        keywords = {generative programming; DSL; partial differential equation},
        owner = {kahawick},
        timestamp = {2013.04.15}
}


[ CSTN Index | CSTN BiBTeX ]