cpraveen / dflo

Discontinuous Galerkin solver for compressible flows
54 stars 34 forks source link

scr_mpi runtime error in dealii::FEValuesBase<dim, spacedim>::get_quadrature_points() #23

Open pkestene opened 9 years ago

pkestene commented 9 years ago

Hello,

when running dflo (built against deal.ii >=8.3) from src_mpi, and after fixing external_force function parser initialization, I get a runtime error:

An error occurred in line <4373> of file </home/pkestene/local/dealii_4_dflo/include/deal.II/fe/fe_values.h> in function const std::vectordealii::Point& dealii::FEValuesBase<dim, spacedim>::get_quadrature_points() const [with int dim = 2; int spacedim = 2] The violated condition was: this->update_flags & update_quadrature_points The name and call sequence of the exception was: ExcAccessToUninitializedField("update_quadraturepoints") Additional Information: You are requesting information from an FEValues/FEFaceValues/FESubfaceValues object for which this kind of information has not been computed. What information these objects compute is determined by the update* flags you pass to the constructor. Here, the operation you are attempting requires the flag to be set, but it was apparently not specified upon construction.

Following what is done in src, if I add the requested flag, everything seems OK. I'll place a pull request for that. Please ignore if you can fix this otherwise.

best regards, Pierre Kestener.