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
5a648f65
Commit
5a648f65
authored
6 years ago
by
Tim Keil
Browse files
Options
Downloads
Patches
Plain Diff
[base/transformed] update transformed function
parent
6f8dc056
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/xt/functions/base/transformed.hh
+7
-10
7 additions, 10 deletions
dune/xt/functions/base/transformed.hh
with
7 additions
and
10 deletions
dune/xt/functions/base/transformed.hh
+
7
−
10
View file @
5a648f65
...
@@ -75,31 +75,28 @@ class TransformedGridFunction : public XT::Functions::GridFunctionInterface<type
...
@@ -75,31 +75,28 @@ class TransformedGridFunction : public XT::Functions::GridFunctionInterface<type
protected
:
protected
:
void
post_bind
(
const
ElementType
&
element
)
override
final
void
post_bind
(
const
ElementType
&
element
)
override
final
{
{
// local_function_->post_bind(element)
;
local_function_
->
bind
(
element
);
DUNE_THROW
(
NotImplemented
,
'
Implement
it
'
);
}
}
public
:
public
:
int
order
(
const
XT
::
Common
::
Parameter
&
m
u
=
{})
const
override
final
int
order
(
const
XT
::
Common
::
Parameter
&
para
m
=
{})
const
override
final
{
{
return
local_function_
->
order
(
m
u
);
return
local_function_
->
order
(
para
m
);
}
}
RangeType
evaluate
(
const
DomainType
&
xx
,
const
XT
::
Common
::
Parameter
&
m
u
=
{})
const
override
final
RangeType
evaluate
(
const
DomainType
&
xx
,
const
XT
::
Common
::
Parameter
&
para
m
=
{})
const
override
final
{
{
RangeType
tmp
;
return
transformation_
(
local_function_
->
evaluate
(
xx
,
param
));
local_function_
->
evaluate
(
xx
,
tmp
,
mu
);
return
transformation_
(
tmp
);
}
}
DerivativeRangeType
jacobian
(
const
DomainType
&
/*xx*/
,
DerivativeRangeType
jacobian
(
const
DomainType
&
/*xx*/
,
const
XT
::
Common
::
Parameter
&
/*m
u
*/
=
{})
const
override
final
const
XT
::
Common
::
Parameter
&
/*
para
m*/
=
{})
const
override
final
{
{
DUNE_THROW
(
NotImplemented
,
"Yet!"
);
DUNE_THROW
(
NotImplemented
,
"Yet!"
);
}
}
private
:
private
:
const
std
::
unique_ptr
<
UntransformedLocalFunctionType
>
local_function_
;
std
::
unique_ptr
<
UntransformedLocalFunctionType
>
local_function_
;
const
Transformation
&
transformation_
;
const
Transformation
&
transformation_
;
};
// class TransformedLocalFunction
};
// class TransformedLocalFunction
...
...
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