Joaquin,
I am trying to use ParameterHandler for runtime parameters in the ALE FSI code
developed by Thomas Wick. I get the following error:
*jomivalen@Nalia ~/ale/jvale-1 $ ./jvale-1
ParameterHandler::read_input: could not open file <ale_fem.prm> for reading.
Trying to make file <ale_fem.prm> with default values for you.
--------------------------------------------------------
An error occurred in line <367> of file
</home/jomivalen/thesis/dealii-8.4.1/include/deal.II/base/smartpointer.h> in
function
T* dealii::SmartPointer<T, P>::operator->() const [with T = const
dealii::Triangulation<2, 2>; P = dealii::DoFHandler<2>]
The violated condition was:
t != 0
The name and call sequence of the exception was:
ExcNotInitialized()
Additional Information:
(none)
Stacktrace:
-----------
#0 /home/jomivalen/cfem/dealii/lib/libdeal_II.g.so.8.4.1:
dealii::SmartPointer<dealii::Triangulation<2, 2> const, dealii::DoFHandler<2,
2> >::operator->() const
#1 /home/jomivalen/cfem/dealii/lib/libdeal_II.g.so.8.4.1: void
dealii::internal::DoFHandler::Implementation::reserve_space<2>(dealii::DoFHandler<2,
2>&)
#2 /home/jomivalen/cfem/dealii/lib/libdeal_II.g.so.8.4.1:
dealii::DoFHandler<2, 2>::distribute_dofs(dealii::FiniteElement<2, 2> const&)
#3 ./jvale-1: ALEFEM<2>::setup_system()
#4 ./jvale-1: ALEFEM<2>::run()
#5 ./jvale-1: main
--------------------------------------------------------
The first and second errors are unrelated. The ParameterHandler class issues
the message about creating the file for you, and continues. Then, at a later
point and unrelatedly, you get the second error.
I suspect that the error happens because you created a DoFHandler and try to
distribute DoFs on it, but have forgotten to previously associate a
triangulation with the DoFHandler. Could that be?
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.