download
raw
362 Bytes
from fe_appprox1D import *
# phi=basis(d=1, symbolic=True)
# print(phi)
# Omega_e=[.1,.2]
# A_e=element_matrix(phi,Omega_e=Omega_e,symbolic=False)
# print(A_e)
h,x=sym.symbols('h x')
nodes=[0,h,2*h]
elements=[[0,1],[1,2]]
phi=basis(d=1,symbolic=False)
f=x*(1-x)
A,b=assemble(nodes,elements,phi,f,symbolic=False)
c=compute_solution(A,b,symbolic=False)
print(b)

Xet Storage Details

Size:
362 Bytes
·
Xet hash:
0cb0041649f8352d79b4b0a060026ab3dae2425a34002cd1a6371189272cb8d3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.