Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.16 KB

core.rst

File metadata and controls

64 lines (39 loc) · 1.16 KB

Core

The core library implements all the functionality, which is then exposed to the user via the GUI, Python library, or CLI.

It is split into four (somewhat interdependent) parts: core-model, core-mesh, core-simulate and core-common.

The public headers for each part are in /include/sme, and the private implementation details are in /src.

For each component X there is

  • X.hpp the public interface
  • X.cpp the private implementation
  • X_t.cpp the tests
  • X_bench.cpp the benchmarks (optional)

sme::model

Importing, exporting and editing spatial models.

model/inc model/src

sme::mesh

Constructing the simplified boundary lines and triangular mesh approximation to the geometry.

mesh/inc mesh/src

sme::simulate

Simulating the model, either with Pixel or dune-copasi.

simulate/inc simulate/src

sme::common

Symbolic math, TIFF import/export, other utility functions.

common/inc common/src