Skip to content

Julia package for generating collocation points inside various domains, with support for variable point density. The primary goal here is to use this for solving PDEs with physics-informed machine learning

License

Notifications You must be signed in to change notification settings

pankajkmishra/MeshfreePoints.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CollocationPoints.jl

CollocationPoints.jl is a Julia package for generating collocation points inside various domains, with support for variable point density. The primary goal here is to use this for solving PDEs with physics-informed machine learning

Alternative text Alternative text

Features

  • Generate uniformly distributed points in circles and rectangles.
  • Generate points with variable density, concentrating points around specific points, lines, or boundaries.
  • Define complex domains from boundary coordinates.
  • Smooth boundary representations.

Running Examples

The package includes a comprehensive set of examples in the examples/ directory. To run them:

  1. From the main directory in your terminal.
  2. Start Julia: julia --project=. example/run_2D.jl

This will generate a series of plots in the examples/figures/ directory, showcasing the different capabilities of the package.

Data Files for Demos

The examples for complex geometries (L-shape, lake, island) require data files that define the boundary coordinates. You need to place these files in the examples/demos/ directory.

  • Lshape.txt
  • lake.txt
  • island.txt

Each file should contain a list of x, y coordinates, one pair per line, separated by spaces.

Citations

About

Julia package for generating collocation points inside various domains, with support for variable point density. The primary goal here is to use this for solving PDEs with physics-informed machine learning

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages