Skip to content

Commit

Permalink
Partially revert
Browse files Browse the repository at this point in the history
  • Loading branch information
loumalouomega authored Mar 22, 2024
1 parent 13380dd commit 6604362
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class GeoFlowApplyConstantScalarValueProcess : public Kratos::ApplyConstantScala
}

bool hasWaterPressure() const { return mVariableName == "WATER_PRESSURE"; }

Kratos::ModelPart& GetModelPart() { return mrModelPart; }
};

class GeoFlowApplyConstantHydrostaticPressureProcess : public Kratos::ApplyConstantHydrostaticPressureProcess
Expand Down
14 changes: 0 additions & 14 deletions kratos/processes/apply_constant_scalarvalue_process.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,20 +192,6 @@ class KRATOS_API(KRATOS_CORE) ApplyConstantScalarValueProcess
bool mBoolValue = false; /// Boolean value.
std::size_t mMeshId = 0; /// Mesh ID.

///@}
///@name Protected Access
///@{

/**
* @brief GetModelPart returns the reference to the ModelPart.
* @details This function provides access to the ModelPart associated with the current object.
* @return Reference to the ModelPart.
*/
ModelPart& GetModelPart()
{
return mrModelPart;
}

///@}
private:
///@name Private Operations
Expand Down

0 comments on commit 6604362

Please sign in to comment.