this->finalize_sensitive_independent_variables();
Assert(this->independent_variables.size() ==
this->n_independent_variables(),
- ExcInternalError());
+ ExcDimensionMismatch(this->independent_variables.size(),
+ this->n_independent_variables()));
return this->independent_variables;
}
ExcInternalError());
Assert(this->independent_variables.size() ==
this->n_independent_variables(),
- ExcInternalError());
+ ExcDimensionMismatch(this->independent_variables.size(),
+ this->n_independent_variables()));
return this->tapeless_driver.value(this->dependent_variables);
}
ExcInternalError());
Assert(this->independent_variables.size() ==
this->n_independent_variables(),
- ExcInternalError());
+ ExcDimensionMismatch(this->independent_variables.size(),
+ this->n_independent_variables()));
this->tapeless_driver.gradient(this->independent_variables,
this->dependent_variables,
ExcInternalError());
Assert(this->independent_variables.size() ==
this->n_independent_variables(),
- ExcInternalError());
+ ExcDimensionMismatch(this->independent_variables.size(),
+ this->n_independent_variables()));
this->tapeless_driver.hessian(this->independent_variables,
this->dependent_variables,
ExcInternalError());
Assert(this->independent_variables.size() ==
this->n_independent_variables(),
- ExcInternalError());
+ ExcDimensionMismatch(this->independent_variables.size(),
+ this->n_independent_variables()));
this->tapeless_driver.jacobian(this->independent_variables,
this->dependent_variables,