IREP
stable

Contents:

  • Overview of IREP
  • Quick Start
  • Building IREP into applications
  • Generating IREP documentation
  • IREP Reference
  • About IREP data types
IREP
  • »
  • IREP
  • Edit on GitHub

IREP¶

IREP is a tool that enables mixed-language simulation codes to use a common, Lua-based format for their input decks. Essentially, the input format is a set of tables – Lua’s one (and only?) data structure. IREP is an intermediate representation that is used to generate plain-old-data (POD) structures in C, C++, Fortran, and Lua.

For some background and motivation, see this presentation and the corresponding video.

Contents:

  • Overview of IREP
    • Introduction
      • Sharing Data Among Lua, C/C++ and Fortran
      • Nested Tables
      • Reading Data into the IR
      • Designing the User Interface
    • Some usage notes
      • The ir_read and ir_exists functions
      • Strings
  • Quick Start
    • Naming conventions
    • Limitations and constraints
    • Strings
    • Compilers
    • Callback functions
  • Building IREP into applications
    • wkt and wkt-index libraries
      • A simple example
      • Adding components to larger applications
    • Build system integration
      • GNU Make
      • CMake
    • The irep-generate command
      • Fortran generation
      • Index generation
      • Controlling code generation
      • Lua code generation
  • Generating IREP documentation
    • irep-generate --mode rst
      • The mesh table
    • Doc macros
    • Introductions
    • Details files
  • IREP Reference
    • Description
    • Usage
    • Defining the Data Store
    • Summary of IREP Macros
    • Reading a Well Known Table
      • Lua Callback Functions
    • Return Values
    • Bugs
    • Author
    • See also
  • About IREP data types
    • Doubles
    • Vector doubles
    • Integers
    • Vector integers
    • Booleans
    • Vector booleans
    • Strings
    • Vector strings
    • Callback functions

Indices and tables¶

  • Index

  • Module Index

  • Search Page

Next

© Copyright 2016-2021, Lawrence Livermore National Laboratory. Revision 7f6add34.

Built with Sphinx using a theme provided by Read the Docs.