@@ -428,13 +428,13 @@ class CDriver {
428428 * \param[in] iVertex - Vertex identifier.
429429 * \return True if the specified vertex is a halo node.
430430 */
431- bool IsAHaloNode (unsigned short iMarker, unsigned long iVertex);
431+ bool IsAHaloNode (unsigned short iMarker, unsigned long iVertex) const ;
432432
433433 /* !
434434 * \brief Get the number of external iterations.
435435 * \return Number of external iterations.
436436 */
437- unsigned long GetnTimeIter ();
437+ unsigned long GetnTimeIter () const ;
438438
439439 /* !
440440 * \brief Get the current external iteration.
@@ -446,31 +446,31 @@ class CDriver {
446446 * \brief Get the unsteady time step.
447447 * \return Unsteady time step.
448448 */
449- passivedouble GetUnsteady_TimeStep ();
449+ passivedouble GetUnsteady_TimeStep () const ;
450450
451451 /* !
452452 * \brief Get the global index of a vertex on a specified marker.
453453 * \param[in] iMarker - Marker identifier.
454454 * \param[in] iVertex - Vertex identifier.
455455 * \return Vertex global index.
456456 */
457- unsigned long GetVertexGlobalIndex (unsigned short iMarker, unsigned long iVertex);
457+ unsigned long GetVertexGlobalIndex (unsigned short iMarker, unsigned long iVertex) const ;
458458
459459 /* !
460460 * \brief Get undeformed coordinates from the mesh solver.
461461 * \param[in] iMarker - Marker identifier.
462462 * \param[in] iVertex - Vertex identifier.
463463 * \return x,y,z coordinates of the vertex.
464464 */
465- vector<passivedouble> GetInitialMeshCoord (unsigned short iMarker, unsigned long iVertex);
465+ vector<passivedouble> GetInitialMeshCoord (unsigned short iMarker, unsigned long iVertex) const ;
466466
467467 /* !
468468 * \brief Get the temperature at a vertex on a specified marker.
469469 * \param[in] iMarker - Marker identifier.
470470 * \param[in] iVertex - Vertex identifier.
471471 * \return Temperature of the vertex.
472472 */
473- passivedouble GetVertexTemperature (unsigned short iMarker, unsigned long iVertex);
473+ passivedouble GetVertexTemperature (unsigned short iMarker, unsigned long iVertex) const ;
474474
475475 /* !
476476 * \brief Set the temperature of a vertex on a specified marker.
@@ -486,15 +486,15 @@ class CDriver {
486486 * \param[in] iVertex - Vertex identifier.
487487 * \return True if the vertex is a halo node.
488488 */
489- vector<passivedouble> GetVertexHeatFluxes (unsigned short iMarker, unsigned long iVertex);
489+ vector<passivedouble> GetVertexHeatFluxes (unsigned short iMarker, unsigned long iVertex) const ;
490490
491491 /* !
492492 * \brief Get the wall normal component of the heat flux at a vertex on a specified marker.
493493 * \param[in] iMarker - Marker identifier.
494494 * \param[in] iVertex - Vertex identifier.
495495 * \return Wall normal component of the heat flux at the vertex.
496496 */
497- passivedouble GetVertexNormalHeatFlux (unsigned short iMarker, unsigned long iVertex);
497+ passivedouble GetVertexNormalHeatFlux (unsigned short iMarker, unsigned long iVertex) const ;
498498
499499 /* !
500500 * \brief Set the wall normal component of the heat flux at a vertex on a specified marker.
@@ -510,60 +510,59 @@ class CDriver {
510510 * \param[in] iVertex - Vertex identifier.
511511 * \return Thermal conductivity at the vertex.
512512 */
513- passivedouble GetThermalConductivity (unsigned short iMarker, unsigned long iVertex);
513+ passivedouble GetThermalConductivity (unsigned short iMarker, unsigned long iVertex) const ;
514514
515515 /* !
516516 * \brief Preprocess the inlets via file input for all solvers.
517517 * \param[in] solver_container - Container vector with all the solutions.
518518 * \param[in] geometry - Geometrical definition of the problem.
519519 * \param[in] config - Definition of the particular problem.
520520 */
521- void Inlet_Preprocessing (CSolver ***solver, CGeometry **geometry,
522- CConfig *config) const ;
521+ void Inlet_Preprocessing (CSolver ***solver, CGeometry **geometry, CConfig *config) const ;
523522
524523 /* !
525524 * \brief Get the unit normal (vector) at a vertex on a specified marker.
526525 * \param[in] iMarker - Marker identifier.
527526 * \param[in] iVertex - Vertex identifier.
528527 * \return Unit normal (vector) at the vertex.
529528 */
530- vector<passivedouble> GetVertexUnitNormal (unsigned short iMarker, unsigned long iVertex);
529+ vector<passivedouble> GetVertexUnitNormal (unsigned short iMarker, unsigned long iVertex) const ;
531530
532531 /* !
533532 * \brief Get all the boundary markers tags.
534533 * \return List of boundary markers tags.
535534 */
536- vector<string> GetAllBoundaryMarkersTag ();
535+ vector<string> GetAllBoundaryMarkersTag () const ;
537536
538537 /* !
539538 * \brief Get all the deformable boundary marker tags.
540539 * \return List of deformable boundary markers tags.
541540 */
542- vector<string> GetAllDeformMeshMarkersTag ();
541+ vector<string> GetAllDeformMeshMarkersTag () const ;
543542
544543 /* !
545544 * \brief Get all the heat transfer boundary markers tags.
546545 * \return List of heat transfer boundary markers tags.
547546 */
548- vector<string> GetAllCHTMarkersTag ();
547+ vector<string> GetAllCHTMarkersTag () const ;
549548
550549 /* !
551550 * \brief Get all the (subsonic) inlet boundary markers tags.
552551 * \return List of inlet boundary markers tags.
553552 */
554- vector<string> GetAllInletMarkersTag ();
553+ vector<string> GetAllInletMarkersTag () const ;
555554
556555 /* !
557556 * \brief Get all the boundary markers tags with their associated indices.
558557 * \return List of boundary markers tags with their indices.
559558 */
560- map<string, int > GetAllBoundaryMarkers ();
559+ map<string, int > GetAllBoundaryMarkers () const ;
561560
562561 /* !
563562 * \brief Get all the boundary markers tags with their associated types.
564563 * \return List of boundary markers tags with their types.
565564 */
566- map<string, string> GetAllBoundaryMarkersType ();
565+ map<string, string> GetAllBoundaryMarkersType () const ;
567566
568567 /* !
569568 * \brief Set the mesh displacement for the elasticity mesh solver.
@@ -586,7 +585,7 @@ class CDriver {
586585 * \param[in] iVertex - Vertex identifier.
587586 * \return Vector of sensitivities.
588587 */
589- vector<passivedouble> GetMeshDisp_Sensitivity (unsigned short iMarker, unsigned long iVertex);
588+ vector<passivedouble> GetMeshDisp_Sensitivity (unsigned short iMarker, unsigned long iVertex) const ;
590589
591590 /* !
592591 * \brief Set the load in X direction for the structural solver.
@@ -605,23 +604,23 @@ class CDriver {
605604 * \param[in] iVertex - Vertex identifier.
606605 * \return Vector of displacements.
607606 */
608- vector<passivedouble> GetFEA_Displacements (unsigned short iMarker, unsigned long iVertex);
607+ vector<passivedouble> GetFEA_Displacements (unsigned short iMarker, unsigned long iVertex) const ;
609608
610609 /* !
611610 * \brief Return the velocities from the FEA Solver.
612611 * \param[in] iMarker - Marker identifier.
613612 * \param[in] iVertex - Vertex identifier.
614613 * \return Vector of velocities.
615614 */
616- vector<passivedouble> GetFEA_Velocity (unsigned short iMarker, unsigned long iVertex);
615+ vector<passivedouble> GetFEA_Velocity (unsigned short iMarker, unsigned long iVertex) const ;
617616
618617 /* !
619618 * \brief Return the velocities from the FEA Solver.
620619 * \param[in] iMarker - Marker identifier.
621620 * \param[in] iVertex - Vertex identifier.
622621 * \return Vector of velocities at time n.
623622 */
624- vector<passivedouble> GetFEA_Velocity_n (unsigned short iMarker, unsigned long iVertex);
623+ vector<passivedouble> GetFEA_Velocity_n (unsigned short iMarker, unsigned long iVertex) const ;
625624
626625 /* !
627626 * \brief Get the sensitivity of the flow loads for the structural solver.
@@ -631,15 +630,15 @@ class CDriver {
631630 * \param[in] LoadX - Value of the load in the direction Y.
632631 * \param[in] LoadX - Value of the load in the direction Z.
633632 */
634- vector<passivedouble> GetFlowLoad_Sensitivity (unsigned short iMarker, unsigned long iVertex);
633+ vector<passivedouble> GetFlowLoad_Sensitivity (unsigned short iMarker, unsigned long iVertex) const ;
635634
636635 /* !
637636 * \brief Get the flow load (from the extra step - the repeated methods should be unified once the postprocessing
638637 * strategy is in place).
639638 * \param[in] iMarker - Marker identifier.
640639 * \param[in] iVertex - Vertex identifier.
641640 */
642- vector<passivedouble> GetFlowLoad (unsigned short iMarker, unsigned long iVertex);
641+ vector<passivedouble> GetFlowLoad (unsigned short iMarker, unsigned long iVertex) const ;
643642
644643 /* !
645644 * \brief Set the adjoint of the flow tractions (from the extra step -
0 commit comments