Skip to content
Snippets Groups Projects
Commit f1ec54c3 authored by Ujwal Kishore Jinaga's avatar Ujwal Kishore Jinaga :clown:
Browse files

[MINOR FIX] Path_temperature_Gradient is fixed in nonLinearMicroBC

parent 677bfaf7
No related branches found
No related tags found
No related merge requests found
......@@ -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 _pathFunctionDefoGradientGradT[i];
_pathFunctionDefoGradientGradT[i] = fct.clone();
}
};
void nonLinearMicroBC::setPathFunctionTemperatureGradient(int comp, const scalarFunction& fct){
delete _pathFunctionDefoGradientF[comp];
_pathFunctionDefoGradientF[comp] = fct.clone();
delete _pathFunctionDefoGradientGradT[comp];
_pathFunctionDefoGradientGradT[comp] = fct.clone();
};
void nonLinearMicroBC::setPathFunctionGradientOfDeformationGradient(int compi, int compj, int compk, const scalarFunction& fct){
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment