Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-codegen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Christian Heinigk
dune-codegen
Commits
43bc9ce8
Commit
43bc9ce8
authored
5 years ago
by
René Heß
Browse files
Options
Downloads
Patches
Plain Diff
Reorder sections in driver block
parent
27357bce
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/dune/codegen/pdelab/driver/__init__.py
+3
-3
3 additions, 3 deletions
python/dune/codegen/pdelab/driver/__init__.py
python/dune/codegen/pdelab/driver/gridoperator.py
+1
-1
1 addition, 1 deletion
python/dune/codegen/pdelab/driver/gridoperator.py
with
4 additions
and
4 deletions
python/dune/codegen/pdelab/driver/__init__.py
+
3
−
3
View file @
43bc9ce8
...
...
@@ -347,10 +347,10 @@ def generate_driver():
driver
=
FunctionBody
(
driver_signature
,
driver_body
)
# Generate driver block
constructor_preamble_order
=
[
"
grid
"
,
"
fem
"
,
"
gridfunction
"
,
constructor_preamble_order
=
[
"
fem
"
,
"
gfs
"
,
"
localoperator
"
,
"
gridfunction
"
,
"
constraints
"
,
"
gridoperator
"
,
"
vector
"
,
...
...
This diff is collapsed.
Click to expand it.
python/dune/codegen/pdelab/driver/gridoperator.py
+
1
−
1
View file @
43bc9ce8
...
...
@@ -146,7 +146,7 @@ def declare_localoperator(name, form_ident):
return
"
std::shared_ptr<{}> {};
"
.
format
(
loptype
,
name
)
@preamble
(
section
=
"
grid
operator
"
,
kernel
=
"
driver_block
"
)
@preamble
(
section
=
"
local
operator
"
,
kernel
=
"
driver_block
"
)
def
define_localoperator
(
name
,
form_ident
):
declare_localoperator
(
name
,
form_ident
)
trial_gfs
=
name_trial_gfs
()
...
...
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