]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Updated scripts
authormichael <michael@localhost.localdomain>
Fri, 5 Nov 2021 22:17:03 +0000 (23:17 +0100)
committermichael <michael@localhost.localdomain>
Fri, 5 Nov 2021 22:17:03 +0000 (23:17 +0100)
CoreFlows/examples/C/DiffusionEquation_1DHeatedRod_FE.cxx

index 87bc5472096a81e1382bf5cae1486599e977d0f7..ddb8a4c2ceb1abbade86aa0e60e631e740e682f5 100755 (executable)
@@ -56,7 +56,7 @@ int main(int argc, char** argv)
        VV_Constant(0) = 623;//Rod clad temperature\r
 \r
        cout << "Building initial data" << endl;\r
-       myProblem.setInitialFieldConstant(M,VV_Constant);\r
+       myProblem.setInitialFieldConstant(M,VV_Constant,NODES);\r
 \r
        //set the boundary conditions\r
        myProblem.setNeumannBoundaryCondition("Neumann");\r