Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_numerics
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_numerics
Merge requests
!12
Closest point
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Closest point
closest-point
into
develop
Overview
0
Commits
4
Pipelines
0
Changes
4
Merged
foggia
requested to merge
closest-point
into
develop
3 years ago
Overview
0
Commits
4
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
4ed7de0c
Prev
Next
Show latest version
1 file
+
3
−
3
Expand all files
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
4ed7de0c
Fix template argument to constant expression
· 4ed7de0c
sachin_krishnan_tv
authored
3 years ago
src/level_set/closest_point/closest_point.hpp
+
3
−
3
Options
@@ -71,7 +71,7 @@ struct AlgoimWrapper
template
<
typename
grid_type
,
typename
grid_key_type
,
unsigned
int
poly_order
,
size_t
phi_field
,
size_t
cp_field
>
void
estimateClosestPoint
(
grid_type
&
gd
,
const
double
nb_gamma
)
{
const
unsigned
int
dim
=
g
d
.
dims
;
const
unsigned
int
dim
=
g
rid_type
::
dims
;
// Stencil polynomial type
using
Poly
=
typename
Algoim
::
StencilPoly
<
dim
,
poly_order
>::
T_Poly
;
@@ -163,7 +163,7 @@ void estimateClosestPoint(grid_type &gd, const double nb_gamma)
template
<
typename
grid_type
,
typename
grid_key_type
,
unsigned
int
poly_order
,
size_t
phi_field
,
size_t
cp_field
,
size_t
extend_field
,
size_t
extend_field_temp
>
void
extendLSField
(
grid_type
&
gd
,
const
double
nb_gamma
)
{
const
unsigned
int
dim
=
g
d
.
dims
;
const
unsigned
int
dim
=
g
rid_type
::
dims
;
// Stencil polynomial object
using
Poly
=
typename
Algoim
::
StencilPoly
<
dim
,
poly_order
>::
T_Poly
;
auto
&
patches
=
gd
.
getLocalGridsInfo
();
@@ -234,7 +234,7 @@ void extendLSField(grid_type &gd, const double nb_gamma)
template
<
typename
grid_type
,
typename
grid_key_type
,
unsigned
int
poly_order
,
size_t
phi_field
,
size_t
cp_field
>
void
reinitializeLS
(
grid_type
&
gd
,
const
double
nb_gamma
)
{
const
unsigned
int
dim
=
g
d
.
dims
;
const
unsigned
int
dim
=
g
rid_type
::
dims
;
// Stencil polynomial object
using
Poly
=
typename
Algoim
::
StencilPoly
<
dim
,
poly_order
>::
T_Poly
;
auto
&
patches
=
gd
.
getLocalGridsInfo
();