Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cm3Libraries
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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm3
cm3Libraries
Commits
7c4adeee
Commit
7c4adeee
authored
6 years ago
by
Van Dung NGUYEN
Browse files
Options
Downloads
Patches
Plain Diff
add new constructor
parent
70b0c55c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
+16
-0
16 additions, 0 deletions
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.h
+5
-1
5 additions, 1 deletion
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.h
with
21 additions
and
1 deletion
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
+
16
−
0
View file @
7c4adeee
...
...
@@ -29,6 +29,22 @@ mlawNonLocalPorousCoupledLaw::mlawNonLocalPorousCoupledLaw(const int num,const d
_failedTol
=
0.99
;
};
mlawNonLocalPorousCoupledLaw
::
mlawNonLocalPorousCoupledLaw
(
const
int
num
,
const
double
E
,
const
double
nu
,
const
double
rho
,
const
double
q1
,
const
double
q2
,
const
double
q3
,
const
double
fVinitial
,
const
double
lambda0
,
const
double
kappa
,
const
J2IsotropicHardening
&
j2IH
,
const
CLengthLaw
&
cLLaw
,
const
double
tol
,
const
bool
matrixbyPerturbation
,
const
double
pert
)
:
mlawNonLocalPorosity
(
num
,
E
,
nu
,
rho
,
fVinitial
,
j2IH
,
cLLaw
,
tol
,
matrixbyPerturbation
,
pert
),
_withCrackTransition
(
false
)
{
_mlawGrowth
=
new
mlawNonLocalDamageGurson
(
num
,
E
,
nu
,
rho
,
q1
,
q2
,
q3
,
fVinitial
,
j2IH
,
cLLaw
,
tol
,
matrixbyPerturbation
,
pert
);
_mlawCoales
=
new
mlawNonLocalPorousThomasonLaw
(
num
,
E
,
nu
,
rho
,
fVinitial
,
lambda0
,
kappa
,
j2IH
,
cLLaw
,
tol
,
matrixbyPerturbation
,
pert
);
// modify current coalescence law
mlawNonLocalPorosity
::
setCoalescenceLaw
(
*
_mlawCoales
->
getCoalescenceLaw
());
_failedTol
=
0.99
;
};
mlawNonLocalPorousCoupledLaw
::
mlawNonLocalPorousCoupledLaw
(
const
mlawNonLocalPorousCoupledLaw
&
source
)
:
...
...
This diff is collapsed.
Click to expand it.
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.h
+
5
−
1
View file @
7c4adeee
...
...
@@ -31,6 +31,10 @@ class mlawNonLocalPorousCoupledLaw : public mlawNonLocalPorosity
const
double
q1
,
const
double
q2
,
const
double
q3
,
const
double
fVinitial
,
const
double
lambda0
,
const
J2IsotropicHardening
&
j2IH
,
const
CLengthLaw
&
cLLaw
,
const
double
tol
=
1.e-8
,
const
bool
matrixbyPerturbation
=
false
,
const
double
pert
=
1e-8
);
mlawNonLocalPorousCoupledLaw
(
const
int
num
,
const
double
E
,
const
double
nu
,
const
double
rho
,
const
double
q1
,
const
double
q2
,
const
double
q3
,
const
double
fVinitial
,
const
double
lambda0
,
const
double
kappa
,
const
J2IsotropicHardening
&
j2IH
,
const
CLengthLaw
&
cLLaw
,
const
double
tol
=
1.e-8
,
const
bool
matrixbyPerturbation
=
false
,
const
double
pert
=
1e-8
);
// Option settings
virtual
void
setNonLocalMethod
(
const
int
i
);
...
...
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