j-fu / VoronoiFVM.jl

Solution of nonlinear multiphysics partial differential equation systems using the Voronoi finite volume method
MIT License
202 stars 34 forks source link

VoronoiFVM.norm for transient solutions #69

Open Theleb97 opened 1 year ago

Theleb97 commented 1 year ago

Hi !

I am having a bit of trouble using the norm function for time-dependent solutions. For example VoronoiFVM.norm(sys, u(t), 2), where u is a transient solution, gives out an error message (see below). It might be useful for error and convergence analysis of parabolic problems.

Error Message :

MethodError: no method matching _initialize_inactive_dof!(::Vector{Float64}, ::VoronoiFVM.System{Float64, Float64, Int32, Int64, Matrix{Int32}, Matrix{Float64}})