Hi,
I’m trying to implement homogeneous Neumann bc on part of the boundary in tutorial example step-20.
The Neumann bc should be imposed strongly (as for Dirichlet bc in normal, non-mixed, formulation). Is this correct?
In any case, I’m trying to impose the Neumann bc strongly using the technique from step-22.
Running program I get the error:
---
An error occurred in line <1878> of file </usr/local/dealii/dealii-8.4.1/include/deal.II/numerics/vector_tools.templates.h> in function
void dealii::VectorTools::{anonymous}::do_interpolate_boundary_values(const M_or_MC<DoFHandlerType:: dimension, DoFHandlerType:: space_dimension>&, const DoFHandlerType&, const typename dealii::FunctionMap<DoFHandlerType:: space_dimension>::type&, std::map<unsigned int, double>&, const dealii::ComponentMask&, dealii::internal::int2type<dim_>) [with DoFHandlerType = dealii::DoFHandler<2>; M_or_MC = dealii::Mapping; int dim_ = 2; typename dealii::FunctionMap<DoFHandlerType:: space_dimension>::type = std::map<unsigned char, const dealii::Function<2, double>*, std::less<unsigned char>, std::allocator<std::pair<const unsigned char, const dealii::Function<2, double>*> > >]
The violated condition was:
cell->get_fe().is_primitive (i)
The name and call sequence of the exception was:
ExcMessage ("This function can only deal with requested boundary " "values that correspond to primitive (scalar) base " "elements")
Additional Information:
This function can only deal with requested boundary values that correspond to primitive (scalar) base elements
---
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/Tvs-V4ESiZE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.