Skip to content

Commit

Permalink
Add Intrepid deprecated warnings when including its headers
Browse files Browse the repository at this point in the history
PR: #12828
  • Loading branch information
achauphan committed Apr 18, 2024
1 parent 8a7dfa4 commit 4107ce4
Show file tree
Hide file tree
Showing 168 changed files with 1,167 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/intrepid/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ TRIBITS_PACKAGE(Intrepid)
# B) Set up package-specific options
#

TRIBITS_ADD_SHOW_DEPRECATED_WARNINGS_OPTION()

IF(Amesos_ENABLE_UMFPACK)
SET(${PACKAGE_NAME}_ENABLE_AMESOS_UMFPACK_DEFAULT ON)
ELSE()
Expand Down
3 changes: 3 additions & 0 deletions packages/intrepid/cmake/Intrepid_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@

/* Define if want to build with sacado enabled */
#cmakedefine HAVE_INTREPID_SACADO

#cmakedefine Intrepid_SHOW_DEPRECATED_WARNINGS

7 changes: 7 additions & 0 deletions packages/intrepid/src/Cell/Intrepid_CellTools.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1776,3 +1776,10 @@ Therefore, a subcell workset is defined by
*/
#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

7 changes: 7 additions & 0 deletions packages/intrepid/src/Cell/Intrepid_CellToolsDef.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3498,3 +3498,10 @@ void CellTools<Scalar>::printWorksetSubcell(const ArrayCell & cellWo
} // get Barycenter
} // namespace Intrepid
#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

7 changes: 7 additions & 0 deletions packages/intrepid/src/Discretization/Basis/Intrepid_Basis.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -481,3 +481,10 @@ class DofCoordsInterface {
\endverbatim
*/
#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -401,3 +401,10 @@ void getValues_HDIV_Args(ArrayScalar & outputValues,
// is included in the definition file.
template<class ArrayScalar>
DofCoordsInterface<ArrayScalar>::~DofCoordsInterface() {}

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,10 @@ class Basis_HCURL_HEX_I1_FEM : public Basis<Scalar, ArrayScalar>, public DofCoor
#include "Intrepid_HCURL_HEX_I1_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -327,3 +327,10 @@ void Basis_HCURL_HEX_I1_FEM<Scalar, ArrayScalar>::getDofCoords(ArrayScalar & Dof
}

}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,10 @@ class Basis_HCURL_HEX_In_FEM :
#include "Intrepid_HCURL_HEX_In_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -530,3 +530,10 @@ namespace Intrepid {
}

}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,10 @@ class Basis_HCURL_QUAD_I1_FEM : public Basis<Scalar, ArrayScalar>, public DofCoo
#include "Intrepid_HCURL_QUAD_I1_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,10 @@ void Basis_HCURL_QUAD_I1_FEM<Scalar, ArrayScalar>::getDofCoords(ArrayScalar & Do
}

}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,10 @@ class Basis_HCURL_QUAD_In_FEM :
#include "Intrepid_HCURL_QUAD_In_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -418,3 +418,10 @@ namespace Intrepid {


}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,10 @@ class Basis_HCURL_TET_I1_FEM : public Basis<Scalar, ArrayScalar>, public DofCoor
#include "Intrepid_HCURL_TET_I1_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -267,3 +267,10 @@ void Basis_HCURL_TET_I1_FEM<Scalar, ArrayScalar>::getDofCoords(ArrayScalar & Dof
}

}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,10 @@ class Basis_HCURL_TET_In_FEM: public Basis<Scalar, ArrayScalar> {
#include "Intrepid_HCURL_TET_In_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -520,3 +520,10 @@ namespace Intrepid {


}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,10 @@ class Basis_HCURL_TRI_I1_FEM : public Basis<Scalar, ArrayScalar>, public DofCoor
#include "Intrepid_HCURL_TRI_I1_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,10 @@ void Basis_HCURL_TRI_I1_FEM<Scalar, ArrayScalar>::getDofCoords(ArrayScalar & Dof


}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,10 @@ class Basis_HCURL_TRI_In_FEM: public Basis<Scalar, ArrayScalar> {
#include "Intrepid_HCURL_TRI_In_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -365,3 +365,10 @@ namespace Intrepid {


}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,10 @@ class Basis_HCURL_WEDGE_I1_FEM : public Basis<Scalar, ArrayScalar> {
#include "Intrepid_HCURL_WEDGE_I1_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -273,3 +273,10 @@ void Basis_HCURL_WEDGE_I1_FEM<Scalar, ArrayScalar>::getValues(ArrayScalar&
}

}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,10 @@ class Basis_HDIV_HEX_I1_FEM : public Basis<Scalar, ArrayScalar> ,
#include "Intrepid_HDIV_HEX_I1_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,10 @@ void Basis_HDIV_HEX_I1_FEM<Scalar, ArrayScalar>::getDofCoords(ArrayScalar & DofC
}

}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,10 @@ class Basis_HDIV_HEX_In_FEM :
#include "Intrepid_HDIV_HEX_In_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -534,3 +534,10 @@ namespace Intrepid {
}

}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,10 @@ class Basis_HDIV_QUAD_I1_FEM : public Basis<Scalar, ArrayScalar> {
#include "Intrepid_HDIV_QUAD_I1_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,10 @@ void Basis_HDIV_QUAD_I1_FEM<Scalar, ArrayScalar>::getValues(ArrayScalar&
}

}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,10 @@ class Basis_HDIV_QUAD_In_FEM :
#include "Intrepid_HDIV_QUAD_In_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -408,3 +408,10 @@ namespace Intrepid {


}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,10 @@ class Basis_HDIV_TET_I1_FEM : public Basis<Scalar, ArrayScalar>, public DofCoord
#include "Intrepid_HDIV_TET_I1_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,10 @@ void Basis_HDIV_TET_I1_FEM<Scalar, ArrayScalar>::getDofCoords(ArrayScalar & DofC
}

}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,10 @@ class Basis_HDIV_TET_In_FEM: public Basis<Scalar, ArrayScalar> {
#include "Intrepid_HDIV_TET_In_FEMDef.hpp"

#endif

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,10 @@ namespace Intrepid {


}// namespace Intrepid

#if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
#ifdef __GNUC__
#warning "The Intrepid package is deprecated"
#endif
#endif

Loading

0 comments on commit 4107ce4

Please sign in to comment.