PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ evaluate() [2/2]

template<typename T >
void pism::fem::Element2::evaluate ( const T *  x,
T *  vals,
T *  dx,
T *  dy 
)
inline

Given nodal values, compute the values and partial derivatives at the quadrature points.

Output arrays should have enough elements to hold values at all quadrature points.`

Definition at line 195 of file Element.hh.

References pism::fem::Germ::dx, pism::fem::Germ::dy, pism::k, pism::fem::Element::m_germs, pism::fem::Element::m_n_chi, pism::fem::Element::m_Nq, and pism::fem::Germ::val.

Referenced by pism::inverse::IP_SSAHardavForwardProblem::apply_jacobian_design(), pism::inverse::IP_SSATaucForwardProblem::apply_jacobian_design(), pism::inverse::IP_SSAHardavForwardProblem::apply_jacobian_design_transpose(), pism::inverse::IP_SSATaucForwardProblem::apply_jacobian_design_transpose(), pism::stressbalance::SSAFEM::compute_local_function(), pism::stressbalance::SSAFEM::compute_local_jacobian(), pism::inverse::IP_H1NormFunctional2S::dot(), pism::inverse::IPGroundedIceH1NormFunctional2S::dot(), pism::inverse::IP_L2NormFunctional2S::dot(), pism::inverse::IP_L2NormFunctional2V::dot(), pism::inverse::IP_H1NormFunctional2S::gradientAt(), pism::inverse::IP_L2NormFunctional2S::gradientAt(), pism::inverse::IPGroundedIceH1NormFunctional2S::gradientAt(), pism::inverse::IPTotalVariationFunctional2S::gradientAt(), pism::inverse::IP_L2NormFunctional2V::gradientAt(), pism::inverse::IP_H1NormFunctional2S::valueAt(), pism::inverse::IP_L2NormFunctional2S::valueAt(), pism::inverse::IPGroundedIceH1NormFunctional2S::valueAt(), pism::inverse::IPTotalVariationFunctional2S::valueAt(), and pism::inverse::IP_L2NormFunctional2V::valueAt().