Skip to content

Tutorial Request: Extending the lduMatrix class #33

Description

@klausbu

A tutorial about how to extend the lduMatrix class with kind of a vector or maybe just a variable to store some data for use across timesteps in e.g. PCG or GAMG would be very usefull. I am not talking about adding a new field through createFields.H for use in a solver, there are many examples on the web and on the forum.

I tried to adapt your Tutorial 6 "OFtutorial06_customClasses" without success and ran into a multitude of complexities and eventually failed to find the right place to add the member functions so data can be accessed and modified from within e.g. PCG.C and GPT4 was no use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions