OpenCMISS / iron

Source code repository for OpenCMISS-Iron
9 stars 62 forks source link

Check if decomposition CalculateFacesSet is true before projecting data #71

Open PrasadBabarendaGamage opened 7 years ago

PrasadBabarendaGamage commented 7 years ago

DataPointsProjectionEvaluate segfaults at the following line number if the user forgets to set decomposition CalculateFacesSet to True. https://github.com/OpenCMISS/iron/blob/devel/src/data_projection_routines.f90#L1111

Need to check if all projection types (ALL_ELEMENTS', 'BOUNDARY_FACES', 'BOUNDARY_LINES') use face calculations. If so, then an error should be raised if the user attempts to project data without setting decomposition CalculateFacesSet to True.