std::complex<double>;
std::complex<float> }
+// differentiable Adol-C scalar types
+DIFFERENTIABLE_ADOLC_REAL_SCALARS := {
+ @DEAL_II_EXPAND_ADOLC_TYPES@;
+ }
+
+// differentiable Sacado scalar types
+DIFFERENTIABLE_TRILINOS_SACADO_REAL_SCALARS := {
+ @DEAL_II_EXPAND_TRILINOS_SACADO_TYPES@;
+ }
+
// differentiable scalar types
DIFFERENTIABLE_REAL_SCALARS := {
- @DEAL_II_EXPAND_TRILINOS_SACADO_TYPES@;
- }
+ @DEAL_II_EXPAND_TRILINOS_SACADO_TYPES@;
+ @DEAL_II_EXPAND_ADOLC_TYPES@;
+ }
// all possible scalar types
ALL_SCALAR_TYPES := {
double; float ; std::complex<double>; std::complex<float>;
@DEAL_II_EXPAND_TRILINOS_SACADO_TYPES@;
+ @DEAL_II_EXPAND_ADOLC_TYPES@;
}
// scalar types that have a corresponding MPI datatype and that we can
OUTPUT_FLAG_TYPES := { DXFlags; UcdFlags; GnuplotFlags; PovrayFlags; EpsFlags;
GmvFlags; TecplotFlags; VtkFlags; SvgFlags;
Deal_II_IntermediateFlags }
-
SET(DEAL_II_EXPAND_TRILINOS_BLOCK_SPARSITY_PATTERN "TrilinosWrappers::BlockSparsityPattern")
SET(DEAL_II_EXPAND_TRILINOS_MPI_BLOCKVECTOR "TrilinosWrappers::MPI::BlockVector")
SET(DEAL_II_EXPAND_TRILINOS_MPI_VECTOR "TrilinosWrappers::MPI::Vector")
- SET(DEAL_II_EXPAND_TRILINOS_SACADO_TYPES "Sacado::Fad::DFad<double>; Sacado::Fad::DFad<float>; Sacado::Fad::DFad<Sacado::Fad::DFad<double>>; Sacado::Fad::DFad<Sacado::Fad::DFad<float>>")
+ # Note: Only CMake 3.0 and greater support line continuation with the "\" character
+ # Elements of string lists are naturally separated by a ";"
+ SET(DEAL_II_EXPAND_TRILINOS_SACADO_TYPES
+ "Sacado::Fad::DFad<double>"
+ "Sacado::Fad::DFad<float>"
+ "Sacado::Fad::DFad<Sacado::Fad::DFad<double>>"
+ "Sacado::Fad::DFad<Sacado::Fad::DFad<float>>")
IF (TRILINOS_WITH_MPI)
SET(DEAL_II_EXPAND_EPETRA_VECTOR "LinearAlgebra::EpetraWrappers::Vector")
MACRO(FEATURE_ADOLC_CONFIGURE_EXTERNAL)
SET(DEAL_II_ADOLC_WITH_ATRIG_ERF ${ADOLC_WITH_ATRIG_ERF})
SET(DEAL_II_ADOLC_WITH_ADVANCED_BRANCHING ${ADOLC_WITH_ADVANCED_BRANCHING})
+
+ SET(DEAL_II_EXPAND_ADOLC_TYPES "::adouble; adtl::adouble")
ENDMACRO()