Skip to content
Snippets Groups Projects
Commit 6120e13d authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: add tmp/refPtr support for setting cref/ref from pointer

- makes it easier to use for local or alternative storage.
  Eg,

  ```
      tmp<volScalarField> tfld;

      tfld.cref(obj.cfindObject<volScalarField>("name"));

      if (!tfld)
      {
          tfld = volScalarField::New("name", ...);
      }
  ```
parent e2c8b0b1
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment