Skip to content

Commit f1ab1a6

Browse files
committed
switch to passivedouble
1 parent 747c7de commit f1ab1a6

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

SU2_CFD/include/drivers/CDriverBase.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ class CDriverBase {
574574
* \param[in] WallScalar - Value of the normal heat flux.
575575
*/
576576

577-
inline void SetMarkerCustomScalar(unsigned short iMarker, unsigned long iVertex, std::vector<su2double> WallScalar) {
577+
inline void SetMarkerCustomScalar(unsigned short iMarker, unsigned long iVertex, vector<passivedouble> WallScalar) {
578578
auto* solver = solver_container[selected_zone][INST_0][MESH_0][SPECIES_SOL];
579579
solver->SetCustomBoundaryScalar(iMarker, iVertex, WallScalar);
580580
}

SU2_CFD/include/solvers/CFVMFlowSolverBase.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2200,14 +2200,14 @@ class CFVMFlowSolverBase : public CSolver {
22002200
else
22012201
Inlet_FlowDir[val_marker][val_vertex][val_dim] = val_flowdir;
22022202
}
2203-
2203+
22042204
/*!
22052205
* \brief Set the value of the customized normal scalar values/flux at a specified vertex on a specified marker.
22062206
* \param[in] val_marker - Marker value
22072207
* \param[in] val_vertex - Boundary vertex value
22082208
*/
2209-
inline void SetCustomBoundaryScalar(unsigned short val_marker, unsigned long val_vertex,
2210-
std::vector<su2double> val_customBoundaryScalar) { }
2209+
inline void SetCustomBoundaryScalar(unsigned short val_marker, unsigned long val_vertex,
2210+
vector<passivedouble> val_customBoundaryScalar) { }
22112211

22122212
/*!
22132213
* \brief Update the multi-grid structure for the customized boundary conditions.

SU2_CFD/include/solvers/CSolver.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2855,15 +2855,15 @@ class CSolver {
28552855
inline virtual su2double GetInletFlowDir(unsigned short val_marker,
28562856
unsigned long val_vertex,
28572857
unsigned short val_dim) const { return 0; }
2858-
2859-
2858+
2859+
28602860
/*!
28612861
* \brief Set the value of the customized normal scalar values/flux at a specified vertex on a specified marker.
28622862
* \param[in] val_marker - Marker value
28632863
* \param[in] val_vertex - Boundary vertex value
28642864
*/
2865-
inline virtual void SetCustomBoundaryScalar(unsigned short val_marker, unsigned long val_vertex,
2866-
std::vector<su2double> val_customBoundaryScalar) { }
2865+
inline virtual void SetCustomBoundaryScalar(unsigned short val_marker, unsigned long val_vertex,
2866+
vector<passivedouble> val_customBoundaryScalar) { }
28672867

28682868

28692869
/*!

SU2_CFD/include/solvers/CSpeciesSolver.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class CSpeciesSolver : public CScalarSolver<CSpeciesVariable> {
241241
* \param[in] val_customBoundaryScalar - Vector of scalar values
242242
*/
243243
inline void SetCustomBoundaryScalar(unsigned short val_marker, unsigned long val_vertex,
244-
std::vector<su2double> val_customBoundaryScalar) {
244+
vector<passivedouble> val_customBoundaryScalar) {
245245
for (auto iVar = 0u; iVar < nVar; iVar++) {
246246
CustomBoundaryScalar[val_marker](val_vertex, iVar) = val_customBoundaryScalar[iVar];
247247
}

0 commit comments

Comments
 (0)