Extrapolation value for interpolate()
I have a 3D scalar field as an output during a solution process defined over an unstructured mesh. I would need to resample it to a regular mesh so that it can be further processed with some existing tools that operate on voxel data. My question is if the interpolate() function is the recommended way to do this, or are there better alternatives?
Using the interpolate() in case the domain of the two grids is not identical certain values will be extrapolated. Is there a way to control this process i.e. to set the extrapolated values to zero instead of obtaining them via some default extrapolation technique? If not is there a simple& fast way to identify cells that are not contained within the other mesh so that manual corrections can be done?
Thanks a lot,
Peter
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Anders Logg
- Solved:
- Last query:
- Last reply: