Skip to content

Commit ddc09d0

Browse files
fsimonisIshaanDesai
andcommitted
Apply suggestions from code review
Co-authored-by: Ishaan Desai <[email protected]>
1 parent a201772 commit ddc09d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pages/docs/couple-your-code/couple-your-code-defining-mesh-connectivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The API function `isMeshConnectivityRequired` is only supported since v2.3.
4242
{% endwarning %}
4343
4444
{% warning %}
45-
The bulk API functions are only supported since v3.
45+
The bulk API functions are only supported from v3.
4646
{% endwarning %}
4747
4848
Maybe interesting to know: preCICE actually does internally not compute with quads, but creates two triangles. [Read more](https://precice.discourse.group/t/highlights-of-the-new-precice-release-v2-1/274#2-1-using-quads-for-projection).

pages/docs/couple-your-code/couple-your-code-direct-access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This concept is required if you want to access received meshes directly. It migh
2727
// Assuming dim == 3, means that the bounding box has dim * 2 == 6 elements.
2828
std::vector<double> boundingBox {
2929
0, 0, 0, // minimum corner
30-
1, 1, 1, // maximum corner
30+
1, 1, 1 // maximum corner
3131
};
3232

3333
// Define region of interest, where we want to obtain the direct access.
@@ -43,7 +43,7 @@ This concept is required if you want to access received meshes directly. It migh
4343

4444
// Now finally get information about the mesh vertices.
4545
// First allocate memory for the IDs and coordinates
46-
std::vector<double> otherCoordinates(otherMeshSize * dim);
46+
std::vector<double> otherCoordinates(otherMeshSize * dim);
4747
std::vector<VertexID> otherVertexIDs(otherMeshSize);
4848
// ... and afterwards ask preCICE to fill the vectors
4949
precice.getMeshVertexIDsAndCoordinates(otherMesh,

0 commit comments

Comments
 (0)