Skip to content

feature request: command to limit step size #9

@jasondet

Description

@jasondet

The method is to just do e.g.

G4UserLimits* userLimits = new G4UserLimits();
userLimits->SetMaxAllowedStep(stepSize);
logVol->SetUserLimits(userLimits);

It should therefore be pretty straightforward to add a command like /g4simple/setStepLimit [length] (volnameregex) where one loops over phys vol names (as we do in /g4simple/listPhysVols) and send a limit to the logical volume of any matches (or to all volumes if a vol name is not supplied).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions