pihnn.utils.RAD_sampling#
- pihnn.utils.RAD_sampling(boundary, model, fine_grid=10000)#
 Employ the RAD adaptive sampling from Wu et al. [2023].
- Parameters:
 boundary (
pihnn.geometries.boundary) – Domain boundary, needed to extract training and test points.model (
pihnn.nn.PIHNN/pihnn.nn.DD_PIHNN) – Neural network model.fine_grid (int) – Number of points to sample for obtaining the residual statistical information.