On 11/10/2017 08:15 AM, Juan Carlos Araujo Cabarcas wrote:
Yes, it explains the Function map better, and also thanks for the pointer to
step-16. Unfortunately, I still cannot get it to run =( ... By looking at
step-35, I got the line:
|
staticstd::map<types::global_dof_index,double>bval;
|
With this, I now write:
|
ZeroFunction<dim>homogeneous_dirichlet_bc;
consttypenameFunctionMap<dim>::type dirichlet_boundary_functions
={{types::boundary_id(0),&homogeneous_dirichlet_bc }};
staticstd::map<types::global_dof_index,double>bval;
VectorTools::interpolate_boundary_values (
mapping_collection,
dof_handler,
dirichlet_boundary_functions,//typename FunctionMap<dim>::type(),
bval
);
|
From which I get the error (without any candidates):
error: undefined reference to
'void dealii::VectorTools::interpolate_boundary_values<2, 2, double>(
dealii::hp::MappingCollection<2, 2> const&,
dealii::hp::DoFHandler<2, 2> const&,
std::map<
unsigned char,
dealii::Function<
2, double> const*,
std::less<unsigned char>,
std::allocator<std::pair<unsigned char const,
dealii::Function<2, double> const*> >
> const&,
std::map<
unsigned int,
double,
std::less<unsigned int>,
std::allocator<std::pair<unsigned int const, double> > >&,
dealii::ComponentMask const&
)'
Yes, that's a bug. The fix is here:
https://github.com/dealii/dealii/pull/5448
Thanks for reporting this!
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
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 the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.