Skip to content

Commit

Permalink
Create single_iter_lie.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iperezav authored Jul 13, 2024
1 parent 8f1e132 commit 56405c9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CFS/single_iter_lie.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
def single_iter_lie(eta, h,vector_field,z):
# The list that will contain all the Lie derivatives is initiated.
LT = sp.Matrix([h])

for i in eta:

LT = LT.jacobian(z)*vector_field[:,i]
return LT

0 comments on commit 56405c9

Please sign in to comment.