useDynLib(fdaPDE)

import(rgl)
importFrom("grDevices", "heat.colors")
importFrom("graphics", "plot", "segments")
importFrom("stats", "lm.fit")
export(create.MESH.2D,refine.MESH.2D)
export(create.FEM.basis, smooth.FEM.basis, smooth.FEM.PDE.basis, smooth.FEM.PDE.sv.basis, FEM, eval.FEM)
export(plot.MESH2D,plot.FEM)
export(R_elementProperties, R_mass, R_stiff, R_smooth.FEM.basis, R_eval.FEM.basis, R_eval.FEM)
#export(CPP_smooth.FEM.basis, CPP_smooth.FEM.PDE.basis, CPP_smooth.FEM.PDE.SV.basis, CPP_eval.FEM.fd, CPP_get_evaluations_points)
S3method(plot,FEM)
S3method(plot,MESH2D)
S3method(image,FEM)