Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-tectonic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
agnumpde
dune-tectonic
Commits
963c6d74
Commit
963c6d74
authored
9 years ago
by
Elias Pipping
Browse files
Options
Downloads
Patches
Plain Diff
[Cleanup] Rename: TwoPieceFunc. -> SegmentedFunc.
parent
c29da767
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sand-wedge-data/mybody.hh
+4
-4
4 additions, 4 deletions
src/sand-wedge-data/mybody.hh
src/sand-wedge-data/segmented-function.hh
+4
-4
4 additions, 4 deletions
src/sand-wedge-data/segmented-function.hh
with
8 additions
and
8 deletions
src/sand-wedge-data/mybody.hh
+
4
−
4
View file @
963c6d74
...
...
@@ -8,8 +8,8 @@
#include
<dune/tectonic/body.hh>
#include
<dune/tectonic/gravity.hh>
#include
"twopiece.hh"
#include
"mygeometry.hh"
#include
"segmented-function.hh"
template
<
int
dimension
>
class
MyBody
:
public
Body
<
dimension
>
{
using
typename
Body
<
dimension
>::
ScalarFunction
;
...
...
@@ -47,9 +47,9 @@ template <int dimension> class MyBody : public Body<dimension> {
private
:
double
const
poissonRatio_
;
double
const
youngModulus_
;
TwoPiece
Function
const
shearViscosityField_
;
TwoPiece
Function
const
bulkViscosityField_
;
TwoPiece
Function
const
densityField_
;
Segmented
Function
const
shearViscosityField_
;
Segmented
Function
const
bulkViscosityField_
;
Segmented
Function
const
densityField_
;
Gravity
<
dimension
>
const
gravityField_
;
};
#endif
This diff is collapsed.
Click to expand it.
src/sand-wedge-data/
twopiece
.hh
→
src/sand-wedge-data/
segmented-function
.hh
+
4
−
4
View file @
963c6d74
#ifndef SRC_SAND_WEDGE_DATA_
TWOPIECE
_HH
#define SRC_SAND_WEDGE_DATA_
TWOPIECE
_HH
#ifndef SRC_SAND_WEDGE_DATA_
SEGMENTED_FUNCTION
_HH
#define SRC_SAND_WEDGE_DATA_
SEGMENTED_FUNCTION
_HH
#include
<dune/common/function.hh>
#include
<dune/common/fvector.hh>
...
...
@@ -7,7 +7,7 @@
#include
"mygeometry.hh"
class
TwoPiece
Function
class
Segmented
Function
:
public
Dune
::
VirtualFunction
<
Dune
::
FieldVector
<
double
,
MY_DIM
>
,
Dune
::
FieldVector
<
double
,
1
>>
{
private:
...
...
@@ -24,7 +24,7 @@ class TwoPieceFunction
double
const
_v2
;
public
:
TwoPiece
Function
(
double
v1
,
double
v2
)
:
_v1
(
v1
),
_v2
(
v2
)
{}
Segmented
Function
(
double
v1
,
double
v2
)
:
_v1
(
v1
),
_v2
(
v2
)
{}
void
evaluate
(
Dune
::
FieldVector
<
double
,
MY_DIM
>
const
&
x
,
Dune
::
FieldVector
<
double
,
1
>
&
y
)
const
{
...
...
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