@@ -38,7 +38,7 @@ SurfaceArea<DoubleType>::SurfaceArea(RegionPtr rp)
3838{
3939 const size_t dimension = GetRegion ().GetDimension ();
4040
41- contact_area = CreateNodeSolution (" ContactSurfaceArea" , rp, this ->GetSelfPtr ());
41+ contact_area = CreateNodeSolution (" ContactSurfaceArea" , rp, NodeModel::DisplayType:: SCALAR , this ->GetSelfPtr ());
4242
4343 if (dimension == 1 )
4444 {
@@ -50,14 +50,14 @@ SurfaceArea<DoubleType>::SurfaceArea(RegionPtr rp)
5050 RegisterCallback (" unitx" );
5151 RegisterCallback (" unity" );
5252
53- nsurf_x = CreateNodeSolution (" NSurfaceNormal_x" , rp, this ->GetSelfPtr ());
54- nsurf_y = CreateNodeSolution (" NSurfaceNormal_y" , rp, this ->GetSelfPtr ());
53+ nsurf_x = CreateNodeSolution (" NSurfaceNormal_x" , rp, NodeModel::DisplayType:: SCALAR , this ->GetSelfPtr ());
54+ nsurf_y = CreateNodeSolution (" NSurfaceNormal_y" , rp, NodeModel::DisplayType:: SCALAR , this ->GetSelfPtr ());
5555 }
5656 else if (dimension == 3 )
5757 {
58- nsurf_x = CreateNodeSolution (" NSurfaceNormal_x" , rp, this ->GetSelfPtr ());
59- nsurf_y = CreateNodeSolution (" NSurfaceNormal_y" , rp, this ->GetSelfPtr ());
60- nsurf_z = CreateNodeSolution (" NSurfaceNormal_z" , rp, this ->GetSelfPtr ());
58+ nsurf_x = CreateNodeSolution (" NSurfaceNormal_x" , rp, NodeModel::DisplayType:: SCALAR , this ->GetSelfPtr ());
59+ nsurf_y = CreateNodeSolution (" NSurfaceNormal_y" , rp, NodeModel::DisplayType:: SCALAR , this ->GetSelfPtr ());
60+ nsurf_z = CreateNodeSolution (" NSurfaceNormal_z" , rp, NodeModel::DisplayType:: SCALAR , this ->GetSelfPtr ());
6161 }
6262 RegisterCallback (" @@@InterfaceChange" );
6363 RegisterCallback (" @@@ContactChange" );
0 commit comments