Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
bd0327e7
Commit
bd0327e7
authored
Mar 24, 2016
by
Uwe Schulzweida
Browse files
smoothpoint: docu update
parent
6f8e4987
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Smooth.c
View file @
bd0327e7
...
...
@@ -327,20 +327,20 @@ void *Smooth(void *argument)
char
**
pargv
=
operatorArgv
();
pml_t
*
pml
=
pml_create
(
"SMOOTH"
);
PML_ADD_INT
(
pml
,
nsmooth
,
1
,
"Number of
smooth iterations
"
);
PML_ADD_INT
(
pml
,
nsmooth
,
1
,
"Number of
times to smooth
"
);
PML_ADD_INT
(
pml
,
npoints
,
1
,
"Maximum number of points"
);
PML_ADD_FLT
(
pml
,
radius
,
1
,
"Search radius"
);
PML_ADD_FLT
(
pml
,
weight0
,
1
,
"
w
eight at dist
r
ance 0"
);
PML_ADD_FLT
(
pml
,
weightR
,
1
,
"
w
eight at the search radius"
);
PML_ADD_FLT
(
pml
,
weight0
,
1
,
"
W
eight at distance 0"
);
PML_ADD_FLT
(
pml
,
weightR
,
1
,
"
W
eight at the search radius"
);
pml_read
(
pml
,
pargc
,
pargv
);
if
(
cdoVerbose
)
pml_print
(
pml
);
if
(
PML_NOCC
(
pml
,
nsmooth
)
)
xnsmooth
=
par_nsmooth
[
0
];
if
(
PML_NOCC
(
pml
,
npoints
)
)
xmax_points
=
par_npoints
[
0
];
if
(
PML_NOCC
(
pml
,
radius
)
)
xsearch_radius
=
par_radius
[
0
];
if
(
PML_NOCC
(
pml
,
weight0
)
)
xweight0
=
par_weight0
[
0
];
if
(
PML_NOCC
(
pml
,
weightR
)
)
xweightR
=
par_weightR
[
0
];
if
(
PML_NOCC
(
pml
,
nsmooth
)
)
xnsmooth
=
par_nsmooth
[
0
];
if
(
PML_NOCC
(
pml
,
npoints
)
)
xmax_points
=
par_npoints
[
0
];
if
(
PML_NOCC
(
pml
,
radius
)
)
xsearch_radius
=
par_radius
[
0
];
if
(
PML_NOCC
(
pml
,
weight0
)
)
xweight0
=
par_weight0
[
0
];
if
(
PML_NOCC
(
pml
,
weightR
)
)
xweightR
=
par_weightR
[
0
];
UNUSED
(
nsmooth
);
UNUSED
(
npoints
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment