Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Show more breadcrumbs
dumux-repositories
dumux
Commits
faf3dff8
Commit
faf3dff8
authored
6 years ago
by
Dennis Gläser
Browse files
Options
Downloads
Patches
Plain Diff
[geomechanics][lameparams] respect dumux conventions
parent
fd62a2b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!991
respect dumux conventions
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/geomechanics/lameparams.hh
+14
-5
14 additions, 5 deletions
dumux/geomechanics/lameparams.hh
with
14 additions
and
5 deletions
dumux/geomechanics/lameparams.hh
+
14
−
5
View file @
faf3dff8
...
@@ -36,18 +36,27 @@ struct LameParams
...
@@ -36,18 +36,27 @@ struct LameParams
{
{
//! Default constructor
//! Default constructor
LameParams
()
=
default
;
LameParams
()
=
default
;
//! Constructor taking lambda and mu directly
//! Constructor taking lambda and mu directly
LameParams
(
Scalar
lambda
,
Scalar
mu
)
:
lambda_
(
lambda
),
mu_
(
mu
)
{}
LameParams
(
Scalar
lambda
,
Scalar
mu
)
:
lambda_
(
lambda
)
,
mu_
(
mu
)
{}
//! Return the first lame parameter
//! Return the first lame parameter
Scalar
lambda
()
const
{
return
lambda_
;
}
Scalar
lambda
()
const
{
return
lambda_
;
}
//! Return the second lame parameter
//! Return the second lame parameter
Scalar
mu
()
const
{
return
mu_
;
}
Scalar
mu
()
const
{
return
mu_
;
}
//! set the first lame parameter
//! set the first lame parameter
void
setLambda
(
Scalar
lambda
)
{
lambda_
=
lambda
;
}
void
setLambda
(
Scalar
lambda
)
{
lambda_
=
lambda
;
}
//! set the second lame parameter
//! set the second lame parameter
void
setMu
(
Scalar
mu
)
{
mu_
=
mu
;
}
void
setMu
(
Scalar
mu
)
{
mu_
=
mu
;
}
private
:
private
:
Scalar
lambda_
;
Scalar
lambda_
;
...
...
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