Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Replace python funcion with sympy expression #507

Merged
Merged
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
2d95737
add sympy2func
AndPuQing Aug 9, 2023
f8bb795
fix node
AndPuQing Aug 10, 2023
b31a785
fix var name
AndPuQing Aug 10, 2023
d9d30d1
fix implementation
AndPuQing Aug 13, 2023
6877901
Merge branch 'develop' into feature-sympy
HydrogenSulfate Aug 23, 2023
2ccc9f5
add sympy to func module
HydrogenSulfate Aug 24, 2023
bb9d71c
add type hint and clean code
HydrogenSulfate Aug 24, 2023
8783ec9
update unitest for N-S equation with sympy-base 'nu'
HydrogenSulfate Aug 25, 2023
6f376b6
delete redundant sympy2func.py
HydrogenSulfate Aug 25, 2023
cfa853f
remove sympy to function code from expression.py to sym_to_func.py
HydrogenSulfate Aug 25, 2023
62e9855
update type hint in expression
HydrogenSulfate Aug 26, 2023
fee4553
update code
HydrogenSulfate Aug 26, 2023
1b7642e
update code
HydrogenSulfate Aug 26, 2023
1538f0d
update code
HydrogenSulfate Aug 26, 2023
36e48e5
refine sym_to_func.py
HydrogenSulfate Aug 26, 2023
d32fd84
replace sympy PDE for biharmonic and laplace
HydrogenSulfate Aug 26, 2023
4e61fa5
refine sym_to_func.py
HydrogenSulfate Aug 27, 2023
4baf466
fix bug in _cvt_to_key
HydrogenSulfate Aug 27, 2023
ba2a5c2
refine sym_to_func and expression code
HydrogenSulfate Aug 27, 2023
f057eec
add euler_beam static code(WIP, can not running, to be debug)
HydrogenSulfate Aug 27, 2023
ffd6b27
wip code
HydrogenSulfate Aug 28, 2023
0809194
Merge branch 'develop' into cvt_pyfunc_to_sym
HydrogenSulfate Aug 28, 2023
b0d1df1
temporary code(need to be refined)
HydrogenSulfate Aug 28, 2023
2fa8a8b
Merge branch 'develop' into cvt_pyfunc_to_sym
HydrogenSulfate Sep 6, 2023
b2a4509
update solver code
HydrogenSulfate Sep 6, 2023
13d6ff6
replace more pdes with sympy
HydrogenSulfate Sep 6, 2023
ffd3a93
simplify code in solver
HydrogenSulfate Sep 6, 2023
256f31a
update code
HydrogenSulfate Sep 7, 2023
3a870d9
rename 'normal_dot_vel' to 'normal_dot_vec'
HydrogenSulfate Sep 7, 2023
08e92d3
fix bug
HydrogenSulfate Sep 7, 2023
c2373ca
update unitest
HydrogenSulfate Sep 7, 2023
051dcd6
remove redundant unitest
HydrogenSulfate Sep 7, 2023
2eacfea
Merge branch 'develop' into cvt_pyfunc_to_sym
HydrogenSulfate Sep 7, 2023
c7eea1b
remove unnecessary code
HydrogenSulfate Sep 7, 2023
615fefb
remove unnecessary more code
HydrogenSulfate Sep 7, 2023
e096ea2
use DETACH_FUNC_NAME instead of 'detach'
HydrogenSulfate Sep 7, 2023
cb16107
add derivatives for sdf function
HydrogenSulfate Sep 7, 2023
899a2d2
replace .diff.diff with .diff(, 2)
HydrogenSulfate Sep 10, 2023
640c080
support exporting expression to .dot and .png file for visualizing an…
HydrogenSulfate Sep 10, 2023
16aae52
remove compute_sdf_derivatives for next PR
HydrogenSulfate Sep 10, 2023
9b46410
refine docstring of ppsci/data/dataset/array_dataset.py
HydrogenSulfate Sep 10, 2023
f179ec1
remove sdf_derivatives code in geometry for next PR
HydrogenSulfate Sep 10, 2023
2e37bca
remove print code in solver
HydrogenSulfate Sep 10, 2023
6ecb31b
rename sympy_to_function to lambdify and add it in ppsci.*
HydrogenSulfate Sep 10, 2023
0a88a08
rename for test files
HydrogenSulfate Sep 11, 2023
18a1638
rename sym_to_func.py to symbolic.py
HydrogenSulfate Sep 12, 2023
8ccf858
update linear_init_ and conv_init_ to kaiming style
HydrogenSulfate Sep 12, 2023
978cdfc
Merge branch 'develop' into cvt_pyfunc_to_sym
HydrogenSulfate Sep 12, 2023
a319e99
refine probability document
HydrogenSulfate Sep 12, 2023
be67fb4
change list to tuple
HydrogenSulfate Sep 12, 2023
eecc5e9
update docstrings of equations
HydrogenSulfate Sep 13, 2023
cb7f777
Merge branch 'develop' into cvt_pyfunc_to_sym
HydrogenSulfate Sep 13, 2023
59bc990
Merge branch 'develop' into cvt_pyfunc_to_sym
HydrogenSulfate Sep 13, 2023
c0228f0
larger atol to 1e-7 for test_linear_elasticity
HydrogenSulfate Sep 13, 2023
408e378
fix seed to 42 for test_linear_elasticity
HydrogenSulfate Sep 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'develop' into cvt_pyfunc_to_sym
  • Loading branch information
HydrogenSulfate committed Sep 12, 2023
commit 978cdfc37466aa257631c10f2d05712068f39545

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.