Internal API

Note: These functions are not considered "documented" and changes here are therefore not considered breaking.

FerriteProblems.FEBufferType
FEBuffer(K,x,r,f,xold,cellbuffer,state,old_state,time,old_time)

A buffer to hold all values that are required to simulate, but that are uniqely defined from the simulation definition

source
FerriteProblems.get_tolerance_scalingFunction
FerriteProblems.get_tolerance_scaling(p::FerriteProblem)

Get the TolScaling type that controls the convergence measure to be compared with the solver's tolerance

source
FerriteProblems.set_time!Function
FerriteProblems.settime!(p::FerriteProblem, new_time)

Set the current time to new_time Called when starting a new step (or when attempting the same step number with a new time increment)

source
FerriteProblems.close_ioFunction
close_io(io::FerriteIO, post)

Close the currently open file in io, then the postprocessing struct to a jld2 file (if not post != nothing), before finally saving the current io object to a .jld2 file

source