Skip to content

Buggy configuration in test not detected #1436

@BenjaminRodenberg

Description

@BenjaminRodenberg

<participant name="SolverOne">
<use-mesh name="Square" provide="yes" />
<write-data name="Forces" mesh="Square" />
<read-data name="Velocities" mesh="Square" />
</participant>
<participant name="SolverTwo">
<use-mesh name="Square" from="SolverOne" />
<use-mesh name="SquareTwo" provide="yes" />
<mapping:nearest-neighbor
direction="write"
from="SquareTwo"
to="Square"
constraint="conservative" />
<write-data name="Velocities" mesh="SquareTwo" />
<read-data name="Forces" mesh="SquareTwo" />
</participant>

I just found this test configuration, which looks buggy to me: SolverTwo uses <read-data name="Forces" mesh="SquareTwo" /> , but there is no mapping to SquareTwo. SolverOne uses <write-data name="Forces" mesh="Square" /> .

Can we raise an error here? I fixed the test on my local branch by introducing a read mapping, but there are, of course, other possible solutions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpreCICE does not behave the way we want and we should look into it (and fix it if possible)configurationRelated to the preCICE configurationusabilityThis issue will make preCICE easier for non-expert users

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions