20 #ifndef LIBMESH_SYSTEM_NORM_H 21 #define LIBMESH_SYSTEM_NORM_H 26 #ifdef LIBMESH_FORWARD_DECLARE_ENUMS 78 SystemNorm(
const std::vector<FEMNormType> & norms);
87 SystemNorm(
const std::vector<FEMNormType> & norms,
88 std::vector<Real> & weights);
97 SystemNorm(
const std::vector<FEMNormType> & norms,
98 std::vector<std::vector<Real>> & weights);
125 const std::vector<Real> & v2);
180 #endif // LIBMESH_SYSTEM_NORM_H std::vector< FEMNormType > _norms
std::vector< Real > _weights_sq
virtual ~SystemNorm()=default
void set_off_diagonal_weight(unsigned int i, unsigned int j, Real w)
void set_weight(unsigned int var, Real w)
FEMNormType type(unsigned int var) const
SystemNorm & operator=(const SystemNorm &)=default
Real weight_sq(unsigned int var) const
Real weight(unsigned int var) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real calculate_norm(const std::vector< Real > &v)
std::vector< std::vector< Real > > _off_diagonal_weights
std::vector< Real > _weights
void set_type(unsigned int var, const FEMNormType &t)