Skip to content

Commit

Permalink
fix gpu build, remove unused arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
tjb-ltk committed Jan 13, 2025
1 parent 6e57346 commit c54990d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ class SingleFluidBase : public ConstitutiveBase
public:

using SingleFluidProp = SingleFluidVar< real64, 2, constitutive::singlefluid::LAYOUT_FLUID, constitutive::singlefluid::LAYOUT_FLUID_DC >;
//using SingleFluidPropConst = SingleFluidVar< real64 const, 2, constitutive::singlefluid::LAYOUT_FLUID,
// constitutive::singlefluid::LAYOUT_FLUID_DC >;

/**
* @brief Constructor.
* @param name name of the group
Expand Down Expand Up @@ -297,24 +296,9 @@ class SingleFluidBase : public ConstitutiveBase
SingleFluidProp m_internalEnergy;
SingleFluidProp m_enthalpy;

//array2d< real64 > m_density;
array2d< real64 > m_dDensity_dPressure;
array2d< real64 > m_dDensity_dTemperature;

array2d< real64 > m_density_n;

//array2d< real64 > m_viscosity;
array2d< real64 > m_dViscosity_dPressure;
array2d< real64 > m_dViscosity_dTemperature;

//array2d< real64 > m_internalEnergy;
array2d< real64 > m_internalEnergy_n;
array2d< real64 > m_dInternalEnergy_dPressure;
array2d< real64 > m_dInternalEnergy_dTemperature;

//array2d< real64 > m_enthalpy;
array2d< real64 > m_dEnthalpy_dPressure;
array2d< real64 > m_dEnthalpy_dTemperature;
//END_SPHINX_INCLUDE_00
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ using LAYOUT_FLUID = RAJA::PERM_JI;
/// Constitutive model fluid property compositional derivative array layout
using LAYOUT_FLUID_DC = RAJA::PERM_JKI;

///Constitutive model singe fluid property derivative array layout
using LAYOUT_SINGLEFLUID_DC = RAJA::PERMJI;

#else

/// Constitutive model single phase property array layout with derivatives
Expand All @@ -104,9 +101,6 @@ using LAYOUT_FLUID = RAJA::PERM_IJ;
/// Constitutive model fluid property compositional derivative array layout
using LAYOUT_FLUID_DC = RAJA::PERM_IJK;

/// Constitutive model singe fluid property derivative array layout
using LAYOUT_SINGLEFLUID_DC = RAJA::PERM_IJ;

#endif

/// Constitutive model phase property unit stride dimension
Expand Down

0 comments on commit c54990d

Please sign in to comment.