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
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container registry
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
podlesny
dune-tectonic
Commits
58c6869e
Commit
58c6869e
authored
12 years ago
by
Elias Pipping
Committed by
Elias Pipping
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Typedef: dataptr
parent
085a7a56
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
dune/tectonic/globallaursennonlinearity.hh
+8
-7
8 additions, 7 deletions
dune/tectonic/globallaursennonlinearity.hh
dune/tectonic/globalruinanonlinearity.hh
+14
-17
14 additions, 17 deletions
dune/tectonic/globalruinanonlinearity.hh
with
22 additions
and
24 deletions
dune/tectonic/globallaursennonlinearity.hh
+
8
−
7
View file @
58c6869e
...
@@ -16,13 +16,14 @@ namespace Dune {
...
@@ -16,13 +16,14 @@ namespace Dune {
template
<
class
OuterFunctionType
,
class
VectorType
,
class
MatrixType
>
template
<
class
OuterFunctionType
,
class
VectorType
,
class
MatrixType
>
class
GlobalLaursenNonlinearity
class
GlobalLaursenNonlinearity
:
public
GlobalNonlinearity
<
VectorType
,
MatrixType
>
{
:
public
GlobalNonlinearity
<
VectorType
,
MatrixType
>
{
private:
typedef
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
dataptr
;
public:
public:
using
GlobalNonlinearity
<
VectorType
,
MatrixType
>::
dim
;
using
GlobalNonlinearity
<
VectorType
,
MatrixType
>::
dim
;
GlobalLaursenNonlinearity
(
GlobalLaursenNonlinearity
(
dataptr
mu
,
dataptr
normalStress
,
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
mu
,
dataptr
nodalIntegrals
)
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
normalStress
,
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
nodalIntegrals
)
:
mu
(
mu
),
:
mu
(
mu
),
normalStress
(
normalStress
),
normalStress
(
normalStress
),
nodalIntegrals
(
nodalIntegrals
),
nodalIntegrals
(
nodalIntegrals
),
...
@@ -64,9 +65,9 @@ class GlobalLaursenNonlinearity
...
@@ -64,9 +65,9 @@ class GlobalLaursenNonlinearity
private
:
private
:
shared_ptr
<
LocalNonlinearity
<
dim
>
const
>
const
trivialNonlinearity
;
shared_ptr
<
LocalNonlinearity
<
dim
>
const
>
const
trivialNonlinearity
;
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
mu
;
dataptr
mu
;
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
normalStress
;
dataptr
normalStress
;
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
nodalIntegrals
;
dataptr
nodalIntegrals
;
std
::
vector
<
shared_ptr
<
LocalNonlinearity
<
dim
>
const
>>
mutable
restrictions
;
std
::
vector
<
shared_ptr
<
LocalNonlinearity
<
dim
>
const
>>
mutable
restrictions
;
};
};
...
...
This diff is collapsed.
Click to expand it.
dune/tectonic/globalruinanonlinearity.hh
+
14
−
17
View file @
58c6869e
...
@@ -17,18 +17,15 @@ namespace Dune {
...
@@ -17,18 +17,15 @@ namespace Dune {
template
<
class
VectorType
,
class
MatrixType
>
template
<
class
VectorType
,
class
MatrixType
>
class
GlobalRuinaNonlinearity
class
GlobalRuinaNonlinearity
:
public
GlobalNonlinearity
<
VectorType
,
MatrixType
>
{
:
public
GlobalNonlinearity
<
VectorType
,
MatrixType
>
{
private:
typedef
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
dataptr
;
public:
public:
using
GlobalNonlinearity
<
VectorType
,
MatrixType
>::
dim
;
using
GlobalNonlinearity
<
VectorType
,
MatrixType
>::
dim
;
GlobalRuinaNonlinearity
(
GlobalRuinaNonlinearity
(
dataptr
nodalIntegrals
,
dataptr
a
,
dataptr
mu
,
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
nodalIntegrals
,
dataptr
eta
,
dataptr
normalStress
,
dataptr
b
,
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
a
,
dataptr
state
,
dataptr
L
,
double
h
)
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
mu
,
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
eta
,
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
normalStress
,
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
b
,
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
state
,
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
L
,
double
h
)
:
nodalIntegrals
(
nodalIntegrals
),
:
nodalIntegrals
(
nodalIntegrals
),
a
(
a
),
a
(
a
),
mu
(
mu
),
mu
(
mu
),
...
@@ -67,14 +64,14 @@ class GlobalRuinaNonlinearity
...
@@ -67,14 +64,14 @@ class GlobalRuinaNonlinearity
private
:
private
:
shared_ptr
<
LocalNonlinearity
<
dim
>
const
>
const
trivialNonlinearity
;
shared_ptr
<
LocalNonlinearity
<
dim
>
const
>
const
trivialNonlinearity
;
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
nodalIntegrals
;
dataptr
nodalIntegrals
;
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
a
;
dataptr
a
;
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
mu
;
dataptr
mu
;
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
eta
;
dataptr
eta
;
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
normalStress
;
dataptr
normalStress
;
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
b
;
dataptr
b
;
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
state
;
dataptr
state
;
shared_ptr
<
BlockVector
<
FieldVector
<
double
,
1
>>
const
>
L
;
dataptr
L
;
double
const
h
;
double
const
h
;
std
::
vector
<
shared_ptr
<
LocalNonlinearity
<
dim
>
const
>>
mutable
restrictions
;
std
::
vector
<
shared_ptr
<
LocalNonlinearity
<
dim
>
const
>>
mutable
restrictions
;
...
...
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