Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdo
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
cdo
Commits
ce2baf15
Commit
ce2baf15
authored
6 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
remapycon: added call to yac_get_cell_bounding_circle_reg_quad().
parent
e739dbb1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/remap_conserv.cc
+7
-1
7 additions, 1 deletion
src/remap_conserv.cc
with
7 additions
and
1 deletion
src/remap_conserv.cc
+
7
−
1
View file @
ce2baf15
...
...
@@ -756,7 +756,13 @@ remapConservWeights(RemapSearch &rsearch, RemapVars &rv)
if
(
useCellsearch
)
{
struct
bounding_circle
bnd_circle
;
yac_get_cell_bounding_circle
(
tgt_grid_cell
[
ompthID
],
&
bnd_circle
);
double
*
xyz
=
tgt_grid_cell
[
ompthID
].
coordinates_xyz
;
if
(
tgt_remap_grid_type
==
REMAP_GRID_TYPE_REG2D
)
yac_get_cell_bounding_circle_reg_quad
(
xyz
,
xyz
+
3
,
xyz
+
6
,
xyz
+
9
,
&
bnd_circle
);
else
if
(
tgt_num_cell_corners
==
3
)
yac_get_cell_bounding_circle_unstruct_triangle
(
xyz
,
xyz
+
3
,
xyz
+
6
,
&
bnd_circle
);
else
yac_get_cell_bounding_circle
(
tgt_grid_cell
[
ompthID
],
&
bnd_circle
);
struct
dep_list
result_list
;
yac_do_bnd_circle_search
((
struct
grid_search
*
)
rsearch
.
yacSearch
,
&
bnd_circle
,
1
,
&
result_list
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment