Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
A
afivo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MD-CWI-NL
afivo
Commits
ba2231f9
Commit
ba2231f9
authored
Aug 12, 2020
by
Jannis Teunissen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve settings poisson_basic example
parent
7fa22ec0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/poisson_basic.f90
examples/poisson_basic.f90
+2
-2
No files found.
examples/poisson_basic.f90
View file @
ba2231f9
...
...
@@ -9,7 +9,7 @@ program poisson_basic
implicit
none
integer
,
parameter
::
box_size
=
64
integer
,
parameter
::
box_size
=
16
integer
,
parameter
::
n_iterations
=
10
integer
::
domain_size
(
NDIM
)
real
(
dp
)
::
domain_len
(
NDIM
)
...
...
@@ -156,7 +156,7 @@ contains
! which is related to the fourth derivative of the solution.
drhs
=
dr2
*
box
%
cc
(
IJK
,
i_rhs
)
if
(
abs
(
drhs
)
>
1e-3_dp
.and.
box
%
lvl
<
5
)
then
if
(
abs
(
drhs
)
>
1e-3_dp
.and.
box
%
lvl
<
7
-
NDIM
)
then
cell_flags
(
IJK
)
=
af_do_ref
else
cell_flags
(
IJK
)
=
af_keep_ref
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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