</p>
<ol>
+ <li> Changed: The constructor of FiniteElementData had a last argument
+ <code>n_blocks</code> that was not actually used by the class to
+ initialize anything. It has been removed. In addition, the default
+ constructor of FiniteElementData has also been removed given that it
+ only creates a dysfunctional element.
+ <br>
+ (Wolfgang Bangerth, 2016/01/23).
+ </li>
+
<li> Rework: SLEPcWrappers were reworked to allow usage of PETSc solvers
and preconditioners inside SLEPc's eigensolvers. To that end extra methods
were introduced to PETSc wrappers. Moreover, initialization of the
(Denis Davydov, 2015/12/29).
</li>
- <li> Removed the deprecated Operator class in the Algorithms namespace.
+ <li> Removed: The deprecated Operator class in the Algorithms namespace.
<br>
(Timo Heister, 2015/12/21)
</li>
* $H_\text{div}$ conforming; finally, completely discontinuous
* elements (implemented by the FE_DGQ class) are only $L_2$
* conforming.
- *
- * @param[in] n_blocks obsolete and ignored.
*/
FiniteElementData (const std::vector<unsigned int> &dofs_per_object,
const unsigned int n_components,
const unsigned int degree,
- const Conformity conformity = unknown,
- const unsigned int n_blocks = numbers::invalid_unsigned_int);
+ const Conformity conformity = unknown);
/**
* Number of dofs per vertex.
FE_PolyTensor<PolynomialType, dim, spacedim>(
deg,
FiniteElementData<dim>(
- get_dpo_vector(deg), dim, deg+1, FiniteElementData<dim>::L2, 1),
+ get_dpo_vector(deg), dim, deg+1, FiniteElementData<dim>::L2),
std::vector<bool>(PolynomialType::compute_n_pols(deg), true),
std::vector<ComponentMask>(PolynomialType::compute_n_pols(deg),
ComponentMask(dim,true)))
FE_PolyTensor<PolynomialsABF<dim>, dim> (
deg,
FiniteElementData<dim>(get_dpo_vector(deg),
- dim, deg+1, FiniteElementData<dim>::Hdiv, 1),
+ dim, deg+1, FiniteElementData<dim>::Hdiv),
std::vector<bool>(PolynomialsABF<dim>::compute_n_pols(deg), true),
std::vector<ComponentMask>(PolynomialsABF<dim>::compute_n_pols(deg),
std::vector<bool>(dim,true))),
FE_PolyTensor<PolynomialsBDM<dim>, dim> (
deg,
FiniteElementData<dim>(get_dpo_vector(deg),
- dim, deg+1, FiniteElementData<dim>::Hdiv, 1),
+ dim, deg+1, FiniteElementData<dim>::Hdiv),
get_ria_vector (deg),
std::vector<ComponentMask>(PolynomialsBDM<dim>::compute_n_pols(deg),
std::vector<bool>(dim,true)))
FiniteElementData (const std::vector<unsigned int> &dofs_per_object,
const unsigned int n_components,
const unsigned int degree,
- const Conformity conformity,
- const unsigned int)
+ const Conformity conformity)
:
dofs_per_vertex(dofs_per_object[0]),
dofs_per_line(dofs_per_object[1]),
FE_PolyTensor<PolynomialsNedelec<dim>, dim>
(p,
FiniteElementData<dim> (get_dpo_vector (p), dim, p + 1,
- FiniteElementData<dim>::Hcurl, 1),
+ FiniteElementData<dim>::Hcurl),
std::vector<bool> (PolynomialsNedelec<dim>::compute_n_pols (p), true),
std::vector<ComponentMask>
(PolynomialsNedelec<dim>::compute_n_pols (p),
FE_PolyTensor<PolynomialsRaviartThomas<dim>, dim> (
deg,
FiniteElementData<dim>(get_dpo_vector(deg),
- dim, deg+1, FiniteElementData<dim>::Hdiv, 1),
+ dim, deg+1, FiniteElementData<dim>::Hdiv),
std::vector<bool>(PolynomialsRaviartThomas<dim>::compute_n_pols(deg), true),
std::vector<ComponentMask>(PolynomialsRaviartThomas<dim>::compute_n_pols(deg),
std::vector<bool>(dim,true)))
FE_PolyTensor<PolynomialsRaviartThomas<dim>, dim> (
deg,
FiniteElementData<dim>(get_dpo_vector(deg),
- dim, deg+1, FiniteElementData<dim>::Hdiv, 1),
+ dim, deg+1, FiniteElementData<dim>::Hdiv),
get_ria_vector (deg),
std::vector<ComponentMask>(PolynomialsRaviartThomas<dim>::compute_n_pols(deg),
std::vector<bool>(dim,true)))
unsigned int degree = 0; // degree is the maximal degree of the components
- unsigned int summed_multiplicities = 0;
-
for (unsigned int i=0; i<fes.size(); i++)
if (multiplicities[i]>0)
{
multiplied_n_components+=fes[i]->n_components() * multiplicities[i];
degree = std::max(degree, fes[i]->tensor_degree() );
-
- summed_multiplicities += multiplicities[i];
}
// assume conformity of the first finite element and then take away
return FiniteElementData<dim> (dpo,
multiplied_n_components,
degree,
- total_conformity,
- summed_multiplicities);
+ total_conformity);
}