@@ -52,10 +52,9 @@ void CDriver::PreprocessPythonInterface(CConfig** config, CGeometry**** geometry
5252 }
5353}
5454
55- // ///////////////////////////////////////////////////////////////////////////
56- /* Functions related to farfield flow variables. */
57- // ///////////////////////////////////////////////////////////////////////////
58-
55+ // ////////////////////////////////////////////////////////////////////////////////
56+ /* Functions related to farfield flow variables. */
57+ // ////////////////////////////////////////////////////////////////////////////////
5958passivedouble CDriver::GetAngleOfAttack () const { return SU2_TYPE::GetValue (main_config->GetAoA ()); }
6059
6160void CDriver::SetAngleOfAttack (const passivedouble AoA) {
@@ -84,9 +83,9 @@ void CDriver::SetReynoldsNumber(passivedouble value) {
8483 UpdateFarfield ();
8584}
8685
87- // ///////////////////////////////////////////////////////////////////////////
88- /* Functions related to the flow solver solution and variables. */
89- // ///////////////////////////////////////////////////////////////////////////
86+ // ////////////////////////////////////////////////////////////////////////////////
87+ /* Functions related to the flow solver solution and variables. */
88+ // ////////////////////////////////////////////////////////////////////////////////
9089
9190unsigned long CDriver::GetNumberStateVariables () const {
9291 if (!main_config->GetFluidProblem ()) {
@@ -104,9 +103,9 @@ unsigned long CDriver::GetNumberPrimitiveVariables() const {
104103 return solver_container[ZONE_0][INST_0][MESH_0][FLOW_SOL]->GetnPrimVar ();
105104}
106105
107- // ///////////////////////////////////////////////////////////////////////////
108- /* Functions related to the adjoint flow solver solution. */
109- // ///////////////////////////////////////////////////////////////////////////
106+ // ////////////////////////////////////////////////////////////////////////////////
107+ /* Functions related to the adjoint flow solver solution. */
108+ // ////////////////////////////////////////////////////////////////////////////////
110109
111110vector<passivedouble> CDriver::GetMarkerAdjointForces (unsigned short iMarker, unsigned long iVertex) const {
112111 if (!main_config->GetFluidProblem () || !main_config->GetDiscrete_Adjoint ()) {
@@ -435,7 +434,7 @@ void CDriver::SetAdjointSourceTerm(vector<passivedouble> values) {
435434}
436435
437436// ////////////////////////////////////////////////////////////////////////////////
438- /* Functions to obtain global parameters from SU2 (time steps, delta t, etc.) */
437+ /* Functions to obtain global parameters from SU2 (time steps, delta t, etc.). */
439438// ////////////////////////////////////////////////////////////////////////////////
440439
441440unsigned long CDriver::GetNumberTimeIter () const { return config_container[selected_zone]->GetnTime_Iter (); }
@@ -448,9 +447,9 @@ passivedouble CDriver::GetUnsteadyTimeStep() const {
448447
449448string CDriver::GetSurfaceFileName () const { return config_container[selected_zone]->GetSurfCoeff_FileName (); }
450449
451- // //////////////////////////////////////////////////////////////////////////////
452- /* Functions related to the management of markers. */
453- // //////////////////////////////////////////////////////////////////////////////
450+ // ////////////////////////////////////////////////////////////////////////////////
451+ /* Functions related to the management of markers. */
452+ // ////////////////////////////////////////////////////////////////////////////////
454453
455454vector<string> CDriver::GetFluidLoadMarkerTags () const {
456455 const auto nMarker = main_config->GetnMarker_Fluid_Load ();
@@ -488,9 +487,9 @@ void CDriver::SetInletAngle(unsigned short iMarker, passivedouble alpha) {
488487 }
489488}
490489
491- // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
492- /* Functions related to simulation control, high level functions (reset convergence, set initial mesh, etc.) */
493- // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
490+ // //////////////////////////////////////////////////////////////////////////////////////////////////////////////
491+ /* Functions related to simulation control, high level functions (reset convergence, set initial mesh, etc.). */
492+ // //////////////////////////////////////////////////////////////////////////////////////////////////////////////
494493
495494void CSinglezoneDriver::SetInitialMesh () {
496495 DynamicMeshUpdate (0 );
@@ -558,9 +557,9 @@ void CDriver::UpdateFarfield() {
558557 }
559558}
560559
561- // //////////////////////////////////////////////////////////////////////////////
562- /* Functions related to adjoint finite element simulations. */
563- // //////////////////////////////////////////////////////////////////////////////
560+ // ////////////////////////////////////////////////////////////////////////////////
561+ /* Functions related to adjoint finite element simulations. */
562+ // ////////////////////////////////////////////////////////////////////////////////
564563
565564vector<passivedouble> CDriver::GetMarkerForceSensitivities (unsigned short iMarker) const {
566565 if (!main_config->GetStructuralProblem () || !main_config->GetDiscrete_Adjoint ()) {
@@ -585,9 +584,9 @@ vector<passivedouble> CDriver::GetMarkerForceSensitivities(unsigned short iMarke
585584 return values;
586585}
587586
588- // //////////////////////////////////////////////////////////////////////////////
589- /* Functions related to dynamic mesh */
590- // //////////////////////////////////////////////////////////////////////////////
587+ // ////////////////////////////////////////////////////////////////////////////////
588+ /* Functions related to dynamic mesh. */
589+ // ////////////////////////////////////////////////////////////////////////////////
591590
592591void CDriver::SetTranslationRate (passivedouble xDot, passivedouble yDot, passivedouble zDot) {
593592 main_config->SetTranslation_Rate (0 , xDot);
0 commit comments