Skip to content

Commit bbe1b70

Browse files
committed
Fix and improve comments.
1 parent d57ba71 commit bbe1b70

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/tests/interpolation/test_interpolation_spherical_vector.cc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ struct FunctionSpaceFixtures {
116116
struct FieldSpecFixtures {
117117
static const Config& get(const std::string& fixture) {
118118
static const auto fieldSpecs = std::map<std::string_view, Config>{
119+
{"scalar", option::name("test field") | option::variables(1) |
120+
option::type("scalar")},
119121
{"2vector", option::name("test field") | option::variables(2) |
120122
option::type("vector")},
121123
{"3vector", option::name("test field") | option::variables(3) |
@@ -308,6 +310,17 @@ void testInterpolation(const Config& config) {
308310
}
309311
}
310312

313+
CASE("cubed sphere CS-LFR-48 scalar interpolation (3d-field, scalar)") {
314+
const auto config =
315+
Config("source_fixture", "cubedsphere_mesh")
316+
.set("target_fixture", "gaussian_mesh")
317+
.set("field_spec_fixture", "scalar")
318+
.set("interp_fixture", "cubedsphere_bilinear_spherical")
319+
.set("file_id", "spherical_vector_cs2")
320+
.set("tol", 0.00018);
321+
322+
testInterpolation<Rank3dField>((config));
323+
}
311324

312325
CASE("cubed sphere CS-LFR-48 vector interpolation (3d-field, 2-vector)") {
313326
const auto config =

0 commit comments

Comments
 (0)