Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-xt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ag-ohlberger
dune-community
dune-xt
Commits
8e6a14e0
Commit
8e6a14e0
authored
4 years ago
by
Dr. Felix Tobias Schindler
Committed by
Tobias Leibner
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[functions...transformed] fix ctor and copy ctor
parent
98d8fb08
No related branches found
No related tags found
1 merge request
!44
ccache and clang sanitizer flags for CI
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/xt/functions/base/transformed.hh
+3
-3
3 additions, 3 deletions
dune/xt/functions/base/transformed.hh
with
3 additions
and
3 deletions
dune/xt/functions/base/transformed.hh
+
3
−
3
View file @
8e6a14e0
...
@@ -73,7 +73,7 @@ class TransformedGridFunction : public XT::Functions::GridFunctionInterface<type
...
@@ -73,7 +73,7 @@ class TransformedGridFunction : public XT::Functions::GridFunctionInterface<type
using
Transformation
=
std
::
function
<
RangeType
(
const
UntransformedRangeType
&
)
>
;
using
Transformation
=
std
::
function
<
RangeType
(
const
UntransformedRangeType
&
)
>
;
TransformedLocalFunction
(
const
GF
&
function
,
const
Transformation
&
transformation
)
TransformedLocalFunction
(
const
GF
&
function
,
const
Transformation
&
transformation
)
:
BaseType
(
function
.
paramter_type
())
:
BaseType
(
function
.
param
e
ter_type
())
,
function_
(
function
.
copy_as_grid_function
())
,
function_
(
function
.
copy_as_grid_function
())
,
local_function_
(
function_
->
local_function
())
,
local_function_
(
function_
->
local_function
())
,
transformation_
(
transformation
)
,
transformation_
(
transformation
)
...
@@ -120,7 +120,7 @@ public:
...
@@ -120,7 +120,7 @@ public:
:
BaseType
(
func
.
parameter_type
())
:
BaseType
(
func
.
parameter_type
())
,
function_
(
func
.
copy_as_grid_function
())
,
function_
(
func
.
copy_as_grid_function
())
,
transformation_
(
transformation
)
,
transformation_
(
transformation
)
,
name_
(
nm
.
empty
()
?
"transformed "
+
function_
.
name
()
:
nm
)
,
name_
(
nm
.
empty
()
?
"transformed "
+
function_
->
name
()
:
nm
)
{}
{}
TransformedGridFunction
(
const
ThisType
&
other
)
TransformedGridFunction
(
const
ThisType
&
other
)
...
@@ -151,7 +151,7 @@ public:
...
@@ -151,7 +151,7 @@ public:
std
::
unique_ptr
<
LocalFunctionType
>
local_function
()
const
override
final
std
::
unique_ptr
<
LocalFunctionType
>
local_function
()
const
override
final
{
{
return
std
::
make_unique
<
TransformedLocalFunction
>
(
function_
,
transformation_
);
return
std
::
make_unique
<
TransformedLocalFunction
>
(
*
function_
,
transformation_
);
}
}
private
:
private
:
...
...
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