Scalar<dim,spacedim>::value (const unsigned int shape_function,
const unsigned int q_point) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_values,
- typename FVB::ExcAccessToUninitializedField("update_values"));
+ ((typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_values"))));
// an adaptation of the FEValuesBase::shape_value_component function
// except that here we know the component as fixed and we have
Scalar<dim,spacedim>::gradient (const unsigned int shape_function,
const unsigned int q_point) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
// an adaptation of the
// FEValuesBase::shape_grad_component
Scalar<dim,spacedim>::hessian (const unsigned int shape_function,
const unsigned int q_point) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_hessians,
- typename FVB::ExcAccessToUninitializedField("update_hessians"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_hessians")));
// an adaptation of the
// FEValuesBase::shape_hessian_component
Scalar<dim,spacedim>::third_derivative (const unsigned int shape_function,
const unsigned int q_point) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_3rd_derivatives,
- typename FVB::ExcAccessToUninitializedField("update_3rd_derivatives"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_3rd_derivatives")));
// an adaptation of the
// FEValuesBase::shape_3rdderivative_component
Vector<dim,spacedim>::value (const unsigned int shape_function,
const unsigned int q_point) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_values,
- typename FVB::ExcAccessToUninitializedField("update_values"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_values")));
// same as for the scalar case except
// that we have one more index
Vector<dim,spacedim>::gradient (const unsigned int shape_function,
const unsigned int q_point) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
// same as for the scalar case except
// that we have one more index
{
// this function works like in
// the case above
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
// same as for the scalar case except
// that we have one more index
Vector<dim,spacedim>::curl (const unsigned int shape_function, const unsigned int q_point) const
{
// this function works like in the case above
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
// same as for the scalar case except that we have one more index
const int snc = shape_function_data[shape_function].single_nonzero_component;
{
// this function works like in
// the case above
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_hessians,
- typename FVB::ExcAccessToUninitializedField("update_hessians"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_hessians")));
// same as for the scalar case except
// that we have one more index
{
// this function works like in
// the case above
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_3rd_derivatives,
- typename FVB::ExcAccessToUninitializedField("update_3rd_derivatives"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_3rd_derivatives")));
// same as for the scalar case except
// that we have one more index
Vector<dim,spacedim>::symmetric_gradient (const unsigned int shape_function,
const unsigned int q_point) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
// same as for the scalar case except
// that we have one more index
SymmetricTensor<2, dim, spacedim>::value (const unsigned int shape_function,
const unsigned int q_point) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_values,
- typename FVB::ExcAccessToUninitializedField("update_values"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_values")));
// similar to the vector case where we
// have more then one index and we need
SymmetricTensor<2, dim, spacedim>::divergence(const unsigned int shape_function,
const unsigned int q_point) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
const int snc = shape_function_data[shape_function].single_nonzero_component;
Tensor<2, dim, spacedim>::value (const unsigned int shape_function,
const unsigned int q_point) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_values,
- typename FVB::ExcAccessToUninitializedField("update_values"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_values")));
// similar to the vector case where we
// have more then one index and we need
Tensor<2, dim, spacedim>::divergence(const unsigned int shape_function,
const unsigned int q_point) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (shape_function < fe_values->fe->dofs_per_cell,
ExcIndexRange (shape_function, 0, fe_values->fe->dofs_per_cell));
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
const int snc = shape_function_data[shape_function].single_nonzero_component;
const Tensor<1,spacedim> &
FEValuesBase<dim,spacedim>::normal_vector (const unsigned int i) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (this->update_flags & update_normal_vectors,
- typename FVB::ExcAccessToUninitializedField("update_normal_vectors"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_normal_vectors")));
Assert (i<this->mapping_output.normal_vectors.size(),
ExcIndexRange(i, 0, this->mapping_output.normal_vectors.size()));
const Tensor<1,spacedim> &
FEFaceValuesBase<dim,spacedim>::boundary_form (const unsigned int i) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (i<this->mapping_output.boundary_forms.size(),
ExcIndexRange(i, 0, this->mapping_output.boundary_forms.size()));
Assert (this->update_flags & update_boundary_forms,
- typename FVB::ExcAccessToUninitializedField("update_boundary_forms"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_boundary_forms")));
return this->mapping_output.boundary_forms[i];
}
get_function_values (const InputVector &fe_function,
std::vector<typename ProductType<value_type,typename InputVector::value_type>::type> &values) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_values,
- typename FVB::ExcAccessToUninitializedField("update_values"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_values")));
Assert (fe_values->present_cell.get() != 0,
ExcMessage ("FEValues object is not reinit'ed to any cell"));
AssertDimension (fe_function.size(),
get_function_gradients (const InputVector &fe_function,
std::vector<typename ProductType<gradient_type,typename InputVector::value_type>::type> &gradients) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
Assert (fe_values->present_cell.get() != 0,
ExcMessage ("FEValues object is not reinit'ed to any cell"));
AssertDimension (fe_function.size(),
get_function_hessians (const InputVector &fe_function,
std::vector<typename ProductType<hessian_type,typename InputVector::value_type>::type> &hessians) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_hessians,
- typename FVB::ExcAccessToUninitializedField("update_hessians"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_hessians")));
Assert (fe_values->present_cell.get() != 0,
ExcMessage ("FEValues object is not reinit'ed to any cell"));
AssertDimension (fe_function.size(),
get_function_laplacians (const InputVector &fe_function,
std::vector<typename ProductType<value_type,typename InputVector::value_type>::type> &laplacians) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_hessians,
- typename FVB::ExcAccessToUninitializedField("update_hessians"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_hessians")));
Assert (fe_values->present_cell.get() != 0,
ExcMessage ("FEValues object is not reinit'ed to any cell"));
AssertDimension (fe_function.size(),
get_function_third_derivatives (const InputVector &fe_function,
std::vector<typename ProductType<third_derivative_type,typename InputVector::value_type>::type> &third_derivatives) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_3rd_derivatives,
- typename FVB::ExcAccessToUninitializedField("update_3rd_derivatives"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_3rd_derivatives")));
Assert (fe_values->present_cell.get() != 0,
ExcMessage ("FEValues object is not reinit'ed to any cell"));
AssertDimension (fe_function.size(),
get_function_values (const InputVector &fe_function,
std::vector<typename ProductType<value_type,typename InputVector::value_type>::type> &values) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_values,
- typename FVB::ExcAccessToUninitializedField("update_values"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_values")));
Assert (fe_values->present_cell.get() != 0,
ExcMessage ("FEValues object is not reinit'ed to any cell"));
AssertDimension (fe_function.size(),
get_function_gradients (const InputVector &fe_function,
std::vector<typename ProductType<gradient_type,typename InputVector::value_type>::type> &gradients) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
Assert (fe_values->present_cell.get() != 0,
ExcMessage ("FEValues object is not reinit'ed to any cell"));
AssertDimension (fe_function.size(),
get_function_symmetric_gradients (const InputVector &fe_function,
std::vector<typename ProductType<symmetric_gradient_type,typename InputVector::value_type>::type> &symmetric_gradients) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
Assert (fe_values->present_cell.get() != 0,
ExcMessage ("FEValues object is not reinit'ed to any cell"));
AssertDimension (fe_function.size(),
get_function_divergences (const InputVector &fe_function,
std::vector<typename ProductType<divergence_type,typename InputVector::value_type>::type> &divergences) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
Assert (fe_values->present_cell.get() != 0,
ExcMessage ("FEValues object is not reinit'ed to any cell"));
AssertDimension (fe_function.size(),
get_function_curls (const InputVector &fe_function,
std::vector<typename ProductType<curl_type,typename InputVector::value_type>::type> &curls) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
-
Assert (fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
Assert (fe_values->present_cell.get () != 0,
ExcMessage ("FEValues object is not reinited to any cell"));
AssertDimension (fe_function.size (),
get_function_hessians (const InputVector &fe_function,
std::vector<typename ProductType<hessian_type,typename InputVector::value_type>::type> &hessians) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_hessians,
- typename FVB::ExcAccessToUninitializedField("update_hessians"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_hessians")));
Assert (fe_values->present_cell.get() != 0,
ExcMessage ("FEValues object is not reinit'ed to any cell"));
AssertDimension (fe_function.size(),
get_function_laplacians (const InputVector &fe_function,
std::vector<typename ProductType<value_type,typename InputVector::value_type>::type> &laplacians) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_hessians,
- typename FVB::ExcAccessToUninitializedField("update_hessians"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_hessians")));
Assert (laplacians.size() == fe_values->n_quadrature_points,
ExcDimensionMismatch(laplacians.size(), fe_values->n_quadrature_points));
Assert (fe_values->present_cell.get() != 0,
get_function_third_derivatives (const InputVector &fe_function,
std::vector<typename ProductType<third_derivative_type,typename InputVector::value_type>::type> &third_derivatives) const
{
- typedef FEValuesBase<dim,spacedim> FVB;
Assert (fe_values->update_flags & update_3rd_derivatives,
- typename FVB::ExcAccessToUninitializedField("update_3rd_derivatives"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_3rd_derivatives")));
Assert (fe_values->present_cell.get() != 0,
ExcMessage ("FEValues object is not reinit'ed to any cell"));
AssertDimension (fe_function.size(),
get_function_values(const InputVector &fe_function,
std::vector<typename ProductType<value_type,typename InputVector::value_type>::type> &values) const
{
- typedef FEValuesBase<dim, spacedim> FVB;
Assert(fe_values->update_flags & update_values,
- typename FVB::ExcAccessToUninitializedField("update_values"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_values")));
Assert(fe_values->present_cell.get() != 0,
ExcMessage("FEValues object is not reinit'ed to any cell"));
AssertDimension(fe_function.size(),
get_function_divergences(const InputVector &fe_function,
std::vector<typename ProductType<divergence_type,typename InputVector::value_type>::type> &divergences) const
{
- typedef FEValuesBase<dim, spacedim> FVB;
Assert(fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
Assert(fe_values->present_cell.get() != 0,
ExcMessage("FEValues object is not reinit'ed to any cell"));
AssertDimension(fe_function.size(),
get_function_values(const InputVector &fe_function,
std::vector<typename ProductType<value_type,typename InputVector::value_type>::type> &values) const
{
- typedef FEValuesBase<dim, spacedim> FVB;
Assert(fe_values->update_flags & update_values,
- typename FVB::ExcAccessToUninitializedField("update_values"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_values")));
Assert(fe_values->present_cell.get() != 0,
ExcMessage("FEValues object is not reinit'ed to any cell"));
AssertDimension(fe_function.size(),
get_function_divergences(const InputVector &fe_function,
std::vector<typename ProductType<divergence_type,typename InputVector::value_type>::type> &divergences) const
{
- typedef FEValuesBase<dim, spacedim> FVB;
Assert(fe_values->update_flags & update_gradients,
- typename FVB::ExcAccessToUninitializedField("update_gradients"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_gradients")));
Assert(fe_values->present_cell.get() != 0,
ExcMessage("FEValues object is not reinit'ed to any cell"));
AssertDimension(fe_function.size(),
const std::vector<Tensor<1,spacedim> > &
FEValuesBase<dim,spacedim>::get_all_normal_vectors () const
{
- typedef FEValuesBase<dim,spacedim> FEVB;
Assert (this->update_flags & update_normal_vectors,
- typename FEVB::ExcAccessToUninitializedField("update_normal_vectors"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_normal_vectors")));
return this->mapping_output.normal_vectors;
}
std::vector<Point<spacedim> >
FEValuesBase<dim,spacedim>::get_normal_vectors () const
{
- typedef FEValuesBase<dim,spacedim> FEVB;
Assert (this->update_flags & update_normal_vectors,
- typename FEVB::ExcAccessToUninitializedField("update_normal_vectors"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_normal_vectors")));
// copy things into a vector of Points, then return that
std::vector<Point<spacedim> > tmp (this->mapping_output.normal_vectors.size());
// You can compute normal vectors
// to the cells only in the
// codimension one case.
- typedef FEValuesBase<dim,spacedim> FEVB;
if (dim != spacedim-1)
Assert ((update_flags & update_normal_vectors) == false,
- typename FEVB::ExcInvalidUpdateFlag());
+ (typename FEValuesBase<dim,spacedim>::ExcInvalidUpdateFlag()));
const UpdateFlags flags = this->compute_update_flags (update_flags);
// passed to the constructor and
// used by the DoFHandler used by
// this cell, are the same
- typedef FEValuesBase<dim,spacedim> FEVB;
Assert (static_cast<const FiniteElementData<dim>&>(*this->fe) ==
static_cast<const FiniteElementData<dim>&>(cell->get_fe()),
- typename FEVB::ExcFEDontMatch());
+ (typename FEValuesBase<dim,spacedim>::ExcFEDontMatch()));
this->maybe_invalidate_previous_present_cell (cell);
this->check_cell_similarity(cell);
const std::vector<Tensor<1,spacedim> > &
FEFaceValuesBase<dim,spacedim>::get_boundary_forms () const
{
- typedef FEValuesBase<dim,spacedim> FEVB;
Assert (this->update_flags & update_boundary_forms,
- typename FEVB::ExcAccessToUninitializedField("update_boundary_forms"));
+ (typename FEValuesBase<dim,spacedim>::ExcAccessToUninitializedField("update_boundary_forms")));
return this->mapping_output.boundary_forms;
}
// passed to the constructor and
// used by the DoFHandler used by
// this cell, are the same
- typedef FEValuesBase<dim,spacedim> FEVB;
Assert (static_cast<const FiniteElementData<dim>&>(*this->fe) ==
static_cast<const FiniteElementData<dim>&>(
cell->get_dof_handler().get_fe()[cell->active_fe_index ()]),
- typename FEVB::ExcFEDontMatch());
+ (typename FEValuesBase<dim,spacedim>::ExcFEDontMatch()));
Assert (face_no < GeometryInfo<dim>::faces_per_cell,
ExcIndexRange (face_no, 0, GeometryInfo<dim>::faces_per_cell));
// passed to the constructor and
// used by the hp::DoFHandler used by
// this cell, are the same
- typedef FEValuesBase<dim,spacedim> FEVB;
Assert (static_cast<const FiniteElementData<dim>&>(*this->fe) ==
static_cast<const FiniteElementData<dim>&>(
cell->get_dof_handler().get_fe()[cell->active_fe_index ()]),
- typename FEVB::ExcFEDontMatch());
+ (typename FEValuesBase<dim,spacedim>::ExcFEDontMatch()));
Assert (face_no < GeometryInfo<dim>::faces_per_cell,
ExcIndexRange (face_no, 0, GeometryInfo<dim>::faces_per_cell));
// We would like to check for