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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm3
cm3Libraries
Commits
f1ec54c3
Commit
f1ec54c3
authored
1 month ago
by
Ujwal Kishore Jinaga
Browse files
Options
Downloads
Patches
Plain Diff
[MINOR FIX] Path_temperature_Gradient is fixed in nonLinearMicroBC
parent
677bfaf7
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
NonLinearSolver/BoundaryConditions/nonLinearMicroBC.cpp
+8
-5
8 additions, 5 deletions
NonLinearSolver/BoundaryConditions/nonLinearMicroBC.cpp
NonLinearSolver/BoundaryConditions/nonLinearMicroBC.h
+1
-0
1 addition, 0 deletions
NonLinearSolver/BoundaryConditions/nonLinearMicroBC.h
with
9 additions
and
5 deletions
NonLinearSolver/BoundaryConditions/nonLinearMicroBC.cpp
+
8
−
5
View file @
f1ec54c3
...
...
@@ -347,17 +347,20 @@ void nonLinearMicroBC::setPathFunctionDeformationGradient(int compi, int compj,
delete
_pathFunctionDefoGradientF
[
index
];
_pathFunctionDefoGradientF
[
index
]
=
fct
.
clone
();
};
void
nonLinearMicroBC
::
setPathFunctionTemperature
(
const
scalarFunction
&
fct
){
delete
_pathFunctionDefoGradientT
[
0
];
_pathFunctionDefoGradientT
[
0
]
=
fct
.
clone
();
};
void
nonLinearMicroBC
::
setPathFunctionTemperatureGradient
(
const
scalarFunction
&
fct
){
for
(
int
i
=
0
;
i
<
3
;
i
++
)
{
delete
_pathFunctionDefoGradientT
[
i
];
_pathFunctionDefoGradientT
[
i
]
=
fct
.
clone
();
delete
_pathFunctionDefoGradient
Grad
T
[
i
];
_pathFunctionDefoGradient
Grad
T
[
i
]
=
fct
.
clone
();
}
};
void
nonLinearMicroBC
::
setPathFunctionTemperatureGradient
(
int
comp
,
const
scalarFunction
&
fct
){
delete
_pathFunctionDefoGradient
F
[
comp
];
_pathFunctionDefoGradient
F
[
comp
]
=
fct
.
clone
();
delete
_pathFunctionDefoGradient
GradT
[
comp
];
_pathFunctionDefoGradient
GradT
[
comp
]
=
fct
.
clone
();
};
void
nonLinearMicroBC
::
setPathFunctionGradientOfDeformationGradient
(
int
compi
,
int
compj
,
int
compk
,
const
scalarFunction
&
fct
){
...
...
This diff is collapsed.
Click to expand it.
NonLinearSolver/BoundaryConditions/nonLinearMicroBC.h
+
1
−
0
View file @
f1ec54c3
...
...
@@ -111,6 +111,7 @@ public:
void
setConstitutiveExtraDofDiffusionGradient
(
const
int
index
,
const
double
grad0
,
const
double
grad1
,
const
double
grad2
);
void
setConstitutiveExtraDofDiffusionValue
(
const
int
index
,
double
val
);
void
setInitialConstitutiveExtraDofDiffusionValue
(
const
int
index
,
double
val
);
void
setPathFunctionTemperature
(
const
scalarFunction
&
fct
);
void
setPathFunctionTemperatureGradient
(
const
scalarFunction
&
fct
);
void
setPathFunctionTemperatureGradient
(
int
comp
,
const
scalarFunction
&
fct
);
...
...
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