Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_numerics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Show more breadcrumbs
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_numerics
Commits
6d308ef2
Commit
6d308ef2
authored
3 years ago
by
lschulze
Browse files
Options
Downloads
Patches
Plain Diff
Allow for bicubic and quadratic interpolation here
parent
6d9e0ef2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/DCPSE/MonomialBasis.hpp
+1
-11
1 addition, 11 deletions
src/DCPSE/MonomialBasis.hpp
with
1 addition
and
11 deletions
src/DCPSE/MonomialBasis.hpp
+
1
−
11
View file @
6d308ef2
...
...
@@ -137,16 +137,10 @@ void MonomialBasis<dim>::generateBasis(std::vector<unsigned int> m, unsigned int
grid_key_dx_iterator_sub_bc
<
dim
>
it
(
grid
,
start
,
stop
,
bc
);
// Finally compute alpha_min
<<<<<<<
Updated
upstream
//unsigned char alphaMin = static_cast<unsigned char>(!(mSum % 2)); // if mSum is even, alpha_min must be 1
=======
unsigned
char
alphaMin
=
static_cast
<
unsigned
char
>
(
!
(
mSum
%
2
));
// if mSum is even, alpha_min must be 1
//std::cout<<"AlphaMin: "<<alphaMin<<std::endl;
alphaMin
=
0
;
// we want to always have 1 in the basis
>>>>>>>
Stashed
changes
unsigned
char
alphaMin
=
0
;
// we want to always have 1 in the basis
//std::cout<<"AlphaMin: "<<alphaMin<<std::endl;
while
(
it
.
isNext
())
{
Point
<
dim
,
long
int
>
p
=
it
.
get
().
get_k
();
...
...
@@ -179,12 +173,8 @@ void MonomialBasis<dim>::generateInterpolBasis(unsigned int orderLimit)
grid_key_dx_iterator_sub_bc
<
dim
>
it
(
grid
,
start
,
stop
,
bc
);
// Finally compute alpha_min
<<<<<<<
Updated
upstream
//unsigned char alphaMin = static_cast<unsigned char>(!(mSum % 2)); // if mSum is even, alpha_min must be 1
//std::cout<<"AlphaMin: "<<alphaMin<<std::endl;
unsigned
char
alphaMin
=
0
;
// we want to always have 1 in the basis
=======
>>>>>>>
Stashed
changes
//std::cout<<"AlphaMin: "<<alphaMin<<std::endl;
while
(
it
.
isNext
())
{
...
...
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