You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bug seems to have slipped through after the recent merge.
# Create the data pointsdataPoints=iron.DataPoints()
dataPointUserNumber=1numberOfDataPoints=1numberOfDimensions=3dataPoints.CreateStart(dataPointUserNumber, region, numberOfDataPoints)
dataPointLocations=np.zeros((numberOfDataPoints, numberOfDimensions))
print("Number of data points: "+str(numberOfDataPoints))
dataPointLocations[0,:] =np.array([1,1,1])
dataList= [1]
fordataPointIdx, dataPointinenumerate(dataList):
dataPoints.PositionSet(dataPoint,dataPointLocations[dataPointIdx,:])
dataPoints.CreateFinish()
# Set up data projectiondataProjectionUserNumber=1dataProjection=iron.DataProjection()
dataProjection.CreateStart(dataProjectionUserNumber, dataPoints,
geometricField, iron.FieldVariableTypes.U)
dataProjection.AbsoluteToleranceSet(1.0e-14)
dataProjection.RelativeToleranceSet(1.0e-14)
dataProjection.MaximumNumberOfIterationsSet(int(1e9))
dataProjection.ProjectionTypeSet(
iron.DataProjectionProjectionTypes.ALL_ELEMENTS)
dataProjection.CreateFinish()
# Evaluate data projection based on geometric fielddataProjection.DataPointsProjectionEvaluate(
iron.FieldParameterSetTypes.VALUES)
At line 324 of file /opencmiss/src/iron/src/data_projection_routines.f90
Fortran runtime error: Index '0' of dimension1 of array 'closestdistances' below lower bound of 1
This error does not occur on Alys's mac build but it occurs on the linux GNU build. Likely because something is not initialised correctly.
The text was updated successfully, but these errors were encountered:
A bug seems to have slipped through after the recent merge.
This error does not occur on Alys's mac build but it occurs on the linux GNU build. Likely because something is not initialised correctly.
The text was updated successfully, but these errors were encountered: