* Exception denoting that ADOL-C is a required feature.
*/
DeclExceptionMsg(
- ExcRequiresAdolC,
+ ExcRequiresADOLC,
"This function is only available if deal.II is compiled with ADOL-C.");
/**
bool
is_recording() const
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
return false;
}
types::tape_index
active_tape_index() const
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
return numbers::invalid_tape_index;
}
bool
keep_independent_values() const
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
return false;
}
bool
is_registered_tape(const types::tape_index tape_index) const
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
return false;
}
const types::tape_buffer_sizes,
const types::tape_buffer_sizes)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
void
start_taping(const types::tape_index, const bool)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
void
stop_taping(const types::tape_index, const bool)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
void
activate_tape(const types::tape_index)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
void
reset(const bool)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
void
print(std::ostream &stream) const
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
static void
print_tape_stats(const types::tape_index, std::ostream &)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
static scalar_type
value(const types::tape_index, const std::vector<scalar_type> &)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
return 0.0;
}
const std::vector<scalar_type> &,
Vector<scalar_type> &)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
static void
const std::vector<scalar_type> &,
FullMatrix<scalar_type> &)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
// === Vector drivers ===
const std::vector<scalar_type> &,
Vector<scalar_type> &)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
static void
const std::vector<scalar_type> &,
FullMatrix<scalar_type> &)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
};
NumberTypes::adolc_tapeless>::type
configure_tapeless_mode(const unsigned int /*n_directional_derivatives*/)
{
- AssertThrow(false, ExcRequiresAdolC());
+ AssertThrow(false, ExcRequiresADOLC());
}
# endif