useDynLib(fdaPDE)
	
	import(Matrix)
        import(plot3D)
	import(rgl)
        import(plot3Drgl)
	import(geometry)
	importFrom("grDevices", "heat.colors","palette")
	importFrom("graphics", "plot", "segments")
	importFrom("stats", "lm.fit")
	export(create.mesh.2D,refine.mesh.2D,create.mesh.2.5D)
	export(create.FEM.basis, smooth.FEM, FEM, eval.FEM, FPCA.FEM)
	export(plot.mesh.2D,plot.FEM, plot.mesh.2.5D, image.FEM)
        export(smooth.FEM.basis, smooth.FEM.PDE.basis, smooth.FEM.PDE.sv.basis)
        export(plot.MESH2D, create.MESH.2D, refine.MESH.2D)
        export(R_eval.FEM, R_eval.FEM.basis, R_mass, R_smooth.FEM.basis, R_stiff)	
        export(fs.test, covs.test)
        S3method(plot,FEM)
	S3method(image,FEM)
        S3method(plot,mesh.2D)
        S3method(plot,mesh.2.5D)
        S3method(plot,MESH2D)