Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
# Official repo for the clang-format hook
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v8.0.1'
rev: 'v22.1.2'
hooks:
- id: clang-format
# Rust formatting hook
Expand All @@ -11,13 +11,13 @@ repos:
- id: fmt
# Official repo for default hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.3.0'
rev: 'v6.0.0'
hooks:
- id: check-xml
- id: check-merge-conflict
- id: mixed-line-ending
# Custom repo for the preCICE configuration formatter
- repo: https://github.com/precice/precice-pre-commit-hooks
rev: 'v2.1'
- repo: https://github.com/precice/config-format
rev: 'v2.0.0'
hooks:
- id: format-precice-config
- id: precice-config-format
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.

## latest

## 3.4.0

- Update pre-commit hooks to latest version

## 3.3.1

- Fix builing documentation without a preCICE installation on docs.rs
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "precice"
version = "3.3.1"
version = "3.4.0"
authors = ["Frédéric Simonis (fsimonis)"]
edition = "2021"
description = "Rust bindinds for precice"
Expand Down
10 changes: 0 additions & 10 deletions examples/precice-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,13 @@

<participant name="SolverOne">
<provide-mesh name="SolverOne-Mesh" />

<write-data name="Data-One" mesh="SolverOne-Mesh" />

<read-data name="Data-Two" mesh="SolverOne-Mesh" />
</participant>

<participant name="SolverTwo">
<receive-mesh name="SolverOne-Mesh" from="SolverOne" />

<provide-mesh name="SolverTwo-Mesh" />

<mapping:nearest-neighbor
direction="write"
from="SolverTwo-Mesh"
Expand All @@ -45,23 +41,17 @@
from="SolverOne-Mesh"
to="SolverTwo-Mesh"
constraint="consistent" />

<write-data name="Data-Two" mesh="SolverTwo-Mesh" />

<read-data name="Data-One" mesh="SolverTwo-Mesh" />
</participant>

<m2n:sockets acceptor="SolverOne" connector="SolverTwo" />

<coupling-scheme:serial-implicit>
<participants first="SolverOne" second="SolverTwo" />

<max-time-windows value="2" />

<time-window-size value="1.0" />

<max-iterations value="5" />

<exchange data="Data-One" mesh="SolverOne-Mesh" from="SolverOne" to="SolverTwo" />
<exchange data="Data-Two" mesh="SolverOne-Mesh" from="SolverTwo" to="SolverOne" />
</coupling-scheme:serial-implicit>
Expand Down
Loading