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
099be6d6
There was an error fetching the commit references. Please try again later.
Commit
099be6d6
authored
2 years ago
by
Ludovic Noels
Browse files
Options
Downloads
Patches
Plain Diff
add return value
parent
455a2779
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/internalPoints/ipDamage.h
+1
-1
1 addition, 1 deletion
NonLinearSolver/internalPoints/ipDamage.h
NonLinearSolver/internalPoints/ipvariable.h
+1
-1
1 addition, 1 deletion
NonLinearSolver/internalPoints/ipvariable.h
with
2 additions
and
2 deletions
NonLinearSolver/internalPoints/ipDamage.h
+
1
−
1
View file @
099be6d6
...
@@ -44,7 +44,7 @@ class IPDamage : public IPVariable{
...
@@ -44,7 +44,7 @@ class IPDamage : public IPVariable{
virtual
double
&
getRefToDDamageDp
()
{
return
dDdp
;}
virtual
double
&
getRefToDDamageDp
()
{
return
dDdp
;}
virtual
STensor3
&
getRefToDDamageDFe
()
{
return
dDdFe
;}
virtual
STensor3
&
getRefToDDamageDFe
()
{
return
dDdFe
;}
virtual
void
setValueForBodyForce
(
const
STensor43
&
K
,
const
bool
usePresentModuli
){
Msg
::
Error
(
"setValueForBodyForce is not defined in ipDamage"
);
}
virtual
void
setValueForBodyForce
(
const
STensor43
&
K
,
const
bool
usePresentModuli
){
Msg
::
Error
(
"setValueForBodyForce is not defined in ipDamage"
);
}
virtual
const
STensor43
&
getConstRefToTangentModuli
()
const
{};
virtual
const
STensor43
&
getConstRefToTangentModuli
()
const
{
Msg
::
Error
(
"getConstRefToTangentModuli ipDamage"
);
static
STensor43
dummy
;
return
dummy
;
};
virtual
void
computeBodyForce
(
const
STensor33
&
G
,
SVector3
&
B
)
const
{
Msg
::
Error
(
"ComputeBodyForce is not defined in ipDamage"
);
}
virtual
void
computeBodyForce
(
const
STensor33
&
G
,
SVector3
&
B
)
const
{
Msg
::
Error
(
"ComputeBodyForce is not defined in ipDamage"
);
}
virtual
void
setValues
(
const
double
&
_dam
,
const
double
&
_mp
,
const
double
&
_DD
,
virtual
void
setValues
(
const
double
&
_dam
,
const
double
&
_mp
,
const
double
&
_DD
,
...
...
This diff is collapsed.
Click to expand it.
NonLinearSolver/internalPoints/ipvariable.h
+
1
−
1
View file @
099be6d6
...
@@ -113,7 +113,7 @@ class IPVariableMechanics : public IPVariable{
...
@@ -113,7 +113,7 @@ class IPVariableMechanics : public IPVariable{
virtual
int
fractureEnergy
(
double
*
arrayEnergy
)
const
{
return
0
;}
virtual
int
fractureEnergy
(
double
*
arrayEnergy
)
const
{
return
0
;}
virtual
void
setValueForBodyForce
(
const
STensor43
&
K
,
const
bool
usePresentModuli
){
Msg
::
Error
(
"setValueForBodyForce is not defined in IPVariableMechanics"
);
}
virtual
void
setValueForBodyForce
(
const
STensor43
&
K
,
const
bool
usePresentModuli
){
Msg
::
Error
(
"setValueForBodyForce is not defined in IPVariableMechanics"
);
}
virtual
void
computeBodyForce
(
const
STensor33
&
G
,
SVector3
&
B
)
const
{
Msg
::
Error
(
"ComputeBodyForce is not defined in IPVariableMechanics"
);
}
virtual
void
computeBodyForce
(
const
STensor33
&
G
,
SVector3
&
B
)
const
{
Msg
::
Error
(
"ComputeBodyForce is not defined in IPVariableMechanics"
);
}
virtual
const
STensor43
&
getConstRefToTangentModuli
()
const
{};
virtual
const
STensor43
&
getConstRefToTangentModuli
()
const
{
Msg
::
Error
(
"getConstRefToTangentModuli IPVariableMechanics"
);
static
STensor43
dummy
;
return
dummy
;
};
virtual
void
restart
(){
virtual
void
restart
(){
IPVariable
::
restart
();
IPVariable
::
restart
();
...
...
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