11 #ifndef BEMBEL_SRC_AUGMENTEDEFIE_AUGMENTEDEFIEEXCITATION_HPP_
12 #define BEMBEL_SRC_AUGMENTEDEFIE_AUGMENTEDEFIEEXCITATION_HPP_
20 template <
typename Derived,
typename LinOp>
28 const int dofs_scalar) {
29 init_AugmentedEFIEExcitation(ansatz_space, dofs_scalar);
35 const int dofs_scalar) {
36 ansatz_space_ = ansatz_space;
38 dofs_scalar_ = dofs_scalar;
49 excitation_ = Eigen::VectorXcd::Zero(dofs_scalar_ + dofs_vector_);
52 excitation_.head(dofs_vector_) = -disc_lf_.get_discrete_linear_form();
58 Derived &get_linear_form() {
return disc_lf_.get_linear_form(); }
59 const Eigen::VectorXcd &get_excitation()
const {
return excitation_; }
64 Eigen::VectorXcd excitation_;
66 DiscreteLinearForm<Derived, LinOp> disc_lf_;
67 AnsatzSpace<LinOp> ansatz_space_;
int get_number_of_dofs() const
Retrieves the number of degrees of freedom of this AnsatzSpace.
This class, given a LinearForm with defined traits, takes care of the assembly of the right hand side...
Routines for the evalutation of pointwise errors.