Skip to content

delaying fvgp.GP.__init #45

@MarcusMNoack

Description

@MarcusMNoack

I'd like to avoid delaying fvgp.GP.init. We can accomplish this with minimal changes by changing fvgp.GP.init to have a light init and do most of it's setup in a separate _initialize_GP.

class GP:
def init(self, ...):
# Do any initialization that doesn't need all the GP vars, probably not much here, maybe stash some vars
...

def _initialize_GP(self, ...)
    # Do all the heavy initialization that needs all the GP vars
    ...

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