SciML / DiffEqApproxFun.jl

The tools for proper interactions between ApproxFun.jl and DifferentialEquations.jl for pseudospectiral partial differential equation discretizations in scientific machine learning (SciML)
https://benchmarks.sciml.ai/
Other
13 stars 8 forks source link

BC projections #2

Closed ChrisRackauckas closed 7 years ago

ChrisRackauckas commented 7 years ago

Should do something like:

using ApproxFun

S=Chebyshev()
B=dirichlet(S)
C=eye(S)[3:end,:]
f=Fun(exp,S)
u=[B;C]\[0.;0.;f]
dlfivefifty commented 7 years ago

The snippit of code now works in ApproxFun development branch