Skip to content

Commit

Permalink
Merge pull request #173 from exasim-project/remove-old-DSL
Browse files Browse the repository at this point in the history
Removed old DSL implementation, see #173
  • Loading branch information
bevanwsjones authored Oct 27, 2024
2 parents 701da67 + 747e334 commit ecbda03
Show file tree
Hide file tree
Showing 15 changed files with 9 additions and 780 deletions.
4 changes: 2 additions & 2 deletions doc/basics/fields.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Fields
Cell Centered Fields
^^^^^^^^^^^^^^^^^^^^

The ``VolumeField`` stores the field values at cell centers and along boundaries, providing essential data for constructing the DSL (Domain Specific Language). This functionality also includes access to mesh data, integrating closely with the computational framework.
The ``VolumeField`` stores the field values at cell centers and along boundaries, providing essential data for constructing the Domain Specific Language (DSL). This functionality also includes access to mesh data, integrating closely with the computational framework.

``DomainField`` acts as the fundamental data container within this structure, offering both read and write to the ``internalField`` and ``boundaryFields`` provided by the ``DomainField``. The ``correctBoundaryConditions`` member function updates the field's boundary conditions, which are specified at construction. It does not hold the data but rather modifies the ``DomainField`` or ``BoundaryField`` container.

Expand All @@ -26,7 +26,7 @@ Functionally, ``fvccVolField`` parallels several OpenFOAM classes such as ``volS
Face Centered fields
^^^^^^^^^^^^^^^^^^^^

The ``SurfaceField`` class stores the field values interpreted as face centers values. Additionally, it stores boundaries for the corresponding boundary conditions. This provides essential data for constructing the DSL (Domain Specific Language). The functionality also includes access to mesh data, integrating closely with the computational framework.
The ``SurfaceField`` class stores the field values interpreted as face centers values. Additionally, it stores boundaries for the corresponding boundary conditions. This provides essential data for constructing the DSL. The functionality also includes access to mesh data, integrating closely with the computational framework.

``DomainField`` acts as the fundamental data container within this structure, offering both read and to the ``internalField`` and ``boundaryField`` provided by the ``DomainField``. The ``correctBoundaryConditions`` member function updates field's boundary conditions, which are specified at construction. It does not hold the data, but modify the ``DomainField`` or ``BoundaryField`` container.

Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions doc/DSL/operator.rst → doc/dsl/operator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ The `Operator` implementation uses Type Erasure (more details `[1] <https://medi
Example:
.. code-block:: cpp
NeoFOAM::DSL::Operator<NeoFOAM::scalar> divTerm =
Divergence(NeoFOAM::DSL::Operator<NeoFOAM::scalar>::Type::Explicit, exec, ...);
NeoFOAM::dsl::Operator<NeoFOAM::scalar> divTerm =
Divergence(NeoFOAM::dsl::Operator<NeoFOAM::scalar>::Type::Explicit, exec, ...);
NeoFOAM::DSL::Operator<NeoFOAM::scalar> ddtTerm =
TimeTerm(NeoFOAM::DSL::Operator<NeoFOAM::scalar>::Type::Temporal, exec, ..);
NeoFOAM::dsl::Operator<NeoFOAM::scalar> ddtTerm =
TimeTerm(NeoFOAM::dsl::Operator<NeoFOAM::scalar>::Type::Temporal, exec, ..);
To fit the specification of the EqnSystem (storage in a vector), the Operator needs to be able to be scaled:
Expand Down
1 change: 0 additions & 1 deletion doc/finiteVolume/cellCentred/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ cellCenteredFiniteVolume
:maxdepth: 2
:glob:

DSL.rst
boundaryConditions.rst
operators.rst
stencil.rst
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Table of Contents
contributing
basics/index
finiteVolume/cellCentred/index
DSL/index
dsl/index
api/index

Compatibility with OpenFOAM
Expand Down
110 changes: 0 additions & 110 deletions include/NeoFOAM/DSL/coeff.hpp

This file was deleted.

192 changes: 0 additions & 192 deletions include/NeoFOAM/DSL/equation.hpp

This file was deleted.

Loading

0 comments on commit ecbda03

Please sign in to comment.