]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #11343 from peterrum/simplex_get_constant_modes
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 10 Dec 2020 10:50:18 +0000 (11:50 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Dec 2020 10:50:18 +0000 (11:50 +0100)
Implement Simplex::FE_Poly::get_constant_modes

1  2 
include/deal.II/simplex/fe_lib.h
source/simplex/fe_lib.cc

index 6ef147dc2bdc709c1ff6e6cefedfc75b9090e5f8,201620d5437588ea148a63c00d140936c9b79f75..aa833316b9798bd3bc09e62b9eaf8f7caffef140
@@@ -40,10 -40,16 +40,17 @@@ namespace Simple
      /**
       * Constructor.
       */
 -    FE_Poly(const unsigned int               degree,
 -            const std::vector<unsigned int> &dpo_vector);
 +    FE_Poly(const unsigned int                                degree,
 +            const std::vector<unsigned int> &                 dpo_vector,
 +            const typename FiniteElementData<dim>::Conformity conformity);
  
+     /**
+      * Return a list of constant modes of the element. For this element, the
+      * list consists of true arguments for all components.
+      */
+     std::pair<Table<2, bool>, std::vector<unsigned int>>
+     get_constant_modes() const override;
    private:
      /**
       * @copydoc dealii::FiniteElement::convert_generalized_support_point_values_to_dof_values()
Simple merge

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.