Euler

class pymem3dg._core.Euler

forward euler (gradient descent) integration

Methods

Euler.__init__(*args, **kwargs)

Overloaded function.

Euler.closeMutableNetcdfFile(self)

close netcdf file

Euler.createMutableNetcdfFile(self, isContinue)

create netcdf file

Euler.integrate(self)

integrate

Euler.march(self)

stepping forward

Euler.saveData(self, ifOutputTrajFile, ...)

save data to output directory

Euler.saveMutableNetcdfData(self)

write to netcdf file

Euler.status(self)

status computation and thresholding

Euler.step(self, n)

step for n iterations

Attributes

Euler.EXIT

Flag for terminating the simulation

Euler.c1

Wolfe condition parameter

Euler.characteristicTimeStep

characteristic time step

Euler.ifAdaptiveStep

option to scale time step according to mesh size

Euler.ifJustGeometryPly

save .ply with just geometry

Euler.ifOutputMeshFile

if output mesh file

Euler.ifOutputTrajFile

if output trajectory file

Euler.ifPrintToConsole

if print to console

Euler.isBacktrack

whether do backtracking line search

Euler.outputDirectory

collapse small triangles

Euler.rho

backtracking coefficient

Euler.savePeriod

period of saving output data

Euler.timeStep

time step

Euler.tolerance

tolerance for termination

Euler.totalTime

time limit

Euler.trajFileName

name of the trajectory file