Skip to content

Commit 60ef3fe

Browse files
authored
Merge pull request #1346 from CEED/jeremy/pre-release
Release - version 0.12.0
2 parents 038a894 + 4018a20 commit 60ef3fe

File tree

18 files changed

+63
-42
lines changed

18 files changed

+63
-42
lines changed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cff-version: 1.2.0
22
title: "libCEED: Efficient Extensible Discretization"
3-
version: 0.11.0
4-
date-released: 2022-12-23
3+
version: 0.12.0
4+
date-released: 2023-10-31
55
license: BSD-2-Clause
66
message: "Please cite the following works when using this software."
77
authors:

Doxyfile

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PROJECT_NAME = libCEED
4848
# could be handy for archiving the generated documentation or if some version
4949
# control system is used.
5050

51-
PROJECT_NUMBER = v0.11.0
51+
PROJECT_NUMBER = v0.12.0
5252

5353
# Using the PROJECT_BRIEF tag one can provide an optional one line description
5454
# for a project that appears at the top of each page and should give viewer a
@@ -1379,15 +1379,6 @@ HTML_COLORSTYLE_SAT = 100
13791379

13801380
HTML_COLORSTYLE_GAMMA = 80
13811381

1382-
# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1383-
# page will contain the date and time when the page was generated. Setting this
1384-
# to YES can help to show when doxygen was last run and thus if the
1385-
# documentation is up to date.
1386-
# The default value is: NO.
1387-
# This tag requires that the tag GENERATE_HTML is set to YES.
1388-
1389-
HTML_TIMESTAMP = YES
1390-
13911382
# If the HTML_DYNAMIC_MENUS tag is set to YES then the generated HTML
13921383
# documentation will contain a main index with vertical navigation menus that
13931384
# are dynamically created via JavaScript. If disabled, the navigation index will
@@ -2049,14 +2040,6 @@ LATEX_HIDE_INDICES = NO
20492040

20502041
LATEX_BIB_STYLE = plain
20512042

2052-
# If the LATEX_TIMESTAMP tag is set to YES then the footer of each generated
2053-
# page will contain the date and time when the page was generated. Setting this
2054-
# to NO can help when comparing the output of multiple runs.
2055-
# The default value is: NO.
2056-
# This tag requires that the tag GENERATE_LATEX is set to YES.
2057-
2058-
LATEX_TIMESTAMP = NO
2059-
20602043
# The LATEX_EMOJI_DIRECTORY tag is used to specify the (relative or absolute)
20612044
# path from which the emoji images will be read. If a relative path is entered,
20622045
# it will be relative to the LATEX_OUTPUT directory. If left blank the

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Rust users can include libCEED via `Cargo.toml`:
122122

123123
```toml
124124
[dependencies]
125-
libceed = "0.11.0"
125+
libceed = "0.12.0"
126126
```
127127

128128
See the [Cargo documentation](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories) for details.

ceed.pc.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ libdir=${prefix}/lib
44

55
Name: CEED
66
Description: Code for Efficient Extensible Discretization
7-
Version: 0.11.0
7+
Version: 0.12.0
88
Cflags: -I${includedir}
99
Libs: -L${libdir} -lceed
1010
Libs.private: %libs_private%

doc/sphinx/source/releasenotes.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ On this page we provide a summary of the main API changes, new features and exam
88

99
### Interface changes
1010

11+
### New features
12+
13+
### Examples
14+
15+
(v0-12)=
16+
17+
## v0.12 (Oct 31, 2023)
18+
19+
### Interface changes
20+
1121
- Update `CeedOperatorContext*` functions to `CeedOperator*Context*` functions for consistency.
1222
For example, `CeedOperatorContextGetFieldLabel` was renamed to `CeedOperatorGetContextFieldLabel`.
1323
- Removed `CeedBasisSetNumQuadraturePoints` as redundant and bug-prone interface.
@@ -17,7 +27,7 @@ For example, `CeedOperatorContextGetFieldLabel` was renamed to `CeedOperatorGetC
1727
- Added {c:func}`CeedOperatorGetFieldByName` to access a specific `CeedOperatorField` by its name.
1828
- Update `/cpu/self/memcheck/*` backends to help verify `CeedVector` array access assumptions and `CeedQFunction` user output assumptions.
1929
- Update {c:func}`CeedOperatorLinearAssembleDiagonal` to provide default implementation that supports `CeedOperator` with multiple active bases.
20-
- Added Sycl backends `/gpu/sycl/ref` and `/gpu/sycl/shared`.
30+
- Added Sycl backends `/gpu/sycl/ref`, `/gpu/sycl/shared`, and `/gpu/sycl/gen`.
2131
- Added {c:func}`CeedBasisApplyAtPoints` for evaluation of values and derivatives at arbitrary points inside elements.
2232
- Added support for non-tensor $H(\text{curl})$ finite element spaces with {c:func}`CeedBasisCreateHcurl`.
2333
- Added {c:func}`CeedElemRestrictionCreateCurlOriented`, similar to {c:func}`CeedElemRestrictionCreateOriented`, for element restrictions requiring more general element transformations such as those for high-order $H(\text{curl})$ spaces on tetrahedra (see [https://dl.acm.org/doi/pdf/10.1145/3524456](https://dl.acm.org/doi/pdf/10.1145/3524456)).
@@ -26,10 +36,24 @@ For example, `CeedOperatorContextGetFieldLabel` was renamed to `CeedOperatorGetC
2636

2737
### Examples
2838

39+
- Add `DMSwarm` example demonstrating interpolation from background mesh to swarm points and projection from swarm points to background mesh.
40+
2941
#### {ref}`example-petsc-bps`
3042

3143
- Requires PETSc version 3.19 or later.
3244

45+
#### {ref}`example-petsc-navier-stokes`
46+
47+
- Updated restart and checkpointing interface.
48+
- Add data-driven subgrid-stress model.
49+
- Add differential filtering of solution.
50+
- Add turbulence statistics collection over spanwise-symmetric geometries.
51+
- Add Taylor-Green vortex initial condition.
52+
- Add Riemann-based outflow boundary conditions.
53+
- Added vortex shedding and flow past cylinder example, including calculations for lift, drag, and heat transfer.
54+
- Add Internal Damping Layer (IDL) for helping turbulent simulation stability.
55+
- Derive `CeedBasis` from `PetscFE`, and various other internal maintainability updates.
56+
3357
(v0-11)=
3458

3559
## v0.11 (Dec 24, 2022)

examples/fluids/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,13 +841,13 @@ string, then the algorithmic approach will be performed.
841841
This problem is really just an initial condition, the [Taylor-Green Vortex](https://en.wikipedia.org/wiki/Taylor%E2%80%93Green_vortex):
842842

843843
$$
844-
\begin{align*}
844+
\begin{aligned}
845845
u &= V_0 \sin(\hat x) \cos(\hat y) \sin(\hat z) \\
846846
v &= -V_0 \cos(\hat x) \sin(\hat y) \sin(\hat z) \\
847847
w &= 0 \\
848848
p &= p_0 + \frac{\rho_0 V_0^2}{16} \left ( \cos(2 \hat x) + \cos(2 \hat y)\right) \left( \cos(2 \hat z) + 2 \right) \\
849849
\rho &= \frac{p}{R T_0} \\
850-
\end{align*}
850+
\end{aligned}
851851
$$
852852

853853
where $\hat x = 2 \pi x / L$ for $L$ the length of the domain in that specific direction.

examples/fluids/navierstokes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#include "qfunctions/newtonian_types.h"
1717
#include "qfunctions/stabilization_types.h"
1818

19-
#if PETSC_VERSION_LT(3, 19, 0)
20-
#error "PETSc v3.19 or later is required"
19+
#if PETSC_VERSION_LT(3, 20, 0)
20+
#error "PETSc v3.20 or later is required"
2121
#endif
2222

2323
#define PetscCeedChk(ceed, ierr) \

examples/petsc/dmswarm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const char help[] = "libCEED example using PETSc with DMSwarm\n";
3535
#include <petsc/private/petscfeimpl.h> /* For interpolation */
3636

3737
#include "include/petscutils.h"
38+
#include "include/petscversion.h"
3839

3940
const char DMSwarmPICField_u[] = "u";
4041

examples/petsc/include/petscversion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#ifndef libceed_petsc_examples_version_h
22
#define libceed_petsc_examples_version_h
33

4-
#if PETSC_VERSION_LT(3, 19, 0)
5-
#error "PETSc v3.19 or later is required"
4+
#if PETSC_VERSION_LT(3, 20, 0)
5+
#error "PETSc v3.20 or later is required"
66
#endif
77

88
#endif

examples/solids/elasticity.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#include "include/utils.h"
2424
#include "problems/problems.h"
2525

26-
#if PETSC_VERSION_LT(3, 19, 0)
27-
#error "PETSc v3.19 or later is required"
26+
#if PETSC_VERSION_LT(3, 20, 0)
27+
#error "PETSc v3.20 or later is required"
2828
#endif
2929

3030
#endif // libceed_solids_examples_setup_h

include/ceed/ceed.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ CEED_EXTERN int CeedResetErrorMessage(Ceed, const char **err_msg);
131131
/// libCEED library version numbering
132132
/// @ingroup Ceed
133133
#define CEED_VERSION_MAJOR 0
134-
#define CEED_VERSION_MINOR 11
134+
#define CEED_VERSION_MINOR 12
135135
#define CEED_VERSION_PATCH 0
136-
#define CEED_VERSION_RELEASE false
136+
#define CEED_VERSION_RELEASE true
137137

138138
/// Compile-time check that the the current library version is at least as recent as the specified version.
139139
/// This macro is typically used in

interface/ceed-basis.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ static int CeedChebyshevPolynomialsAtPoint(CeedScalar x, CeedInt n, CeedScalar *
5858
/**
5959
@brief Compute values of the derivative of Chebyshev polynomials at a point
6060
61-
@param[in] x Coordinate to evaluate derivative of Chebyshev polynomials at
62-
@param[in] n Number of Chebyshev polynomials to evaluate, n >= 2
63-
@param[out] chebyshev_x Array of Chebyshev polynomial derivative values
61+
@param[in] x Coordinate to evaluate derivative of Chebyshev polynomials at
62+
@param[in] n Number of Chebyshev polynomials to evaluate, n >= 2
63+
@param[out] chebyshev_dx Array of Chebyshev polynomial derivative values
6464
6565
@return An error code: 0 - success, otherwise - failure
6666

interface/ceed-elemrestriction.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,6 +1128,7 @@ int CeedElemRestrictionApply(CeedElemRestriction rstr, CeedTransposeMode t_mode,
11281128
@brief Restrict an L-vector of points to a single element or apply its transpose
11291129
11301130
@param[in] rstr CeedElemRestriction
1131+
@param[in] elem Element number in range 0..@a num_elem
11311132
@param[in] t_mode Apply restriction or transpose
11321133
@param[in] u Input vector (of size @a l_size when t_mode=@ref CEED_NOTRANSPOSE)
11331134
@param[out] ru Output vector (of shape [@a num_elem * @a elem_size] when t_mode=@ref CEED_NOTRANSPOSE).

rust/libceed-sys/Cargo.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = [
66
]
77
build = "build.rs"
88
name = "libceed-sys"
9-
version = "0.11.0"
9+
version = "0.12.0"
1010
links = "libceed-sys"
1111
edition = "2018"
1212
license = "BSD-2-Clause"
@@ -35,3 +35,9 @@ pkg-config = "0.3.19"
3535

3636
[dev-dependencies]
3737
version-sync = "0.9.2"
38+
39+
[package.metadata.release]
40+
pre-release-replacements = [
41+
{ file = "README.md", search = "libceed-sys = \"[0-9.]*\"", replace = "libceed-sys = \"{{version}}\"" },
42+
{ file = "build.rs", search = "atleast_version\\(\"[0-9.]*\"\\)", replace = "atleast_version(\"{{version}}\")" },
43+
]

rust/libceed-sys/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ While our focus is on high-order finite elements, the approach is mostly algebra
1212
To use low level libCEED bindings in a Rust package, the following `Cargo.toml` can be used.
1313
```toml
1414
[dependencies]
15-
libceed-sys = "0.11.0"
15+
libceed-sys = "0.12.0"
1616
```
1717

1818
For a development version of the libCEED Rust bindings, use the following `Cargo.toml`.

rust/libceed-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn main() {
4141
};
4242
pkg_config::Config::new()
4343
.statik(statik)
44-
.atleast_version("0.11")
44+
.atleast_version("0.12.0")
4545
.probe(&ceed_pc)
4646
.unwrap();
4747

rust/libceed/Cargo.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = [
55
"Jeremy L Thompson <[email protected]>",
66
]
77
name = "libceed"
8-
version = "0.11.0"
8+
version = "0.12.0"
99
edition = "2018"
1010
rust-version = "1.56"
1111
license = "BSD-2-Clause"
@@ -18,11 +18,17 @@ keywords = ["libceed", "exascale", "high-order"]
1818
categories = ["science"]
1919

2020
[dependencies]
21-
libceed-sys = { version = "0.11", path = "../libceed-sys" }
21+
libceed-sys = { version = "0.12", path = "../libceed-sys" }
2222
katexit = { version = "0.1.1", optional = true }
2323

2424
[dev-dependencies]
2525
version-sync = "0.9.2"
2626

2727
[package.metadata.docs.rs]
2828
features = ["katexit"]
29+
30+
[package.metadata.release]
31+
pre-release-replacements = [
32+
{ file = "README.md", search = "libceed = \"[0-9.]*\"", replace = "libceed = \"{{version}}\"" },
33+
{ file = "../../README.md", search = "libceed = \"[0-9.]*\"", replace = "libceed = \"{{version}}\"" },
34+
]

rust/libceed/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the [libCEED user manual](https://libceed.org) for details on [interface con
1414
To call libCEED from a Rust package, the following `Cargo.toml` can be used.
1515
```toml
1616
[dependencies]
17-
libceed = "0.11.0"
17+
libceed = "0.12.0"
1818
```
1919

2020
For a development version of the libCEED Rust bindings, use the following `Cargo.toml`.

0 commit comments

Comments
 (0)