Skip to content
Snippets Groups Projects
  1. Jun 08, 2021
  2. Jun 07, 2021
    • Mark OLESEN's avatar
      TUT: avoid xterm in mpi schema (multiWorld) · e2c8b0b1
      Mark OLESEN authored
      e2c8b0b1
    • Andrew Heather's avatar
      Merge branch 'issue-1922-user-access-to-dictionary' into 'develop' · 3a2e7252
      Andrew Heather authored
      add access to dictionary context for dynamic-coded items.
      
      See merge request !466
      3a2e7252
    • Mark OLESEN's avatar
      TUT: example of user access for Function1 · c2692e7c
      Mark OLESEN authored
      c2692e7c
    • Mark OLESEN's avatar
      ENH: provide dictionary access for coded BCs etc (#1922) · b59ae32d
      Mark OLESEN authored
      - in some cases, additional dictionary inputs are useful for extending
        the input parameters or functionality of dynamic coded conditions.
      
        Typically this can be used to provide a simple set of dictionary
        inputs that are used to drive specific code, but allows changing the
        inputs without causing a recompilation.
      
        Accessed with this type of code:
        ```
        const dictionary& dict = this->codeContext();
        ```
      
      boundary conditions and function objects:
      
      * specify an additional codeContext dictionary entry:
        ```
        codeContext
        {
            ...
        }
        ```
      
      PatchFunction1:
      
      * The code context dictionary is simply the dictionary used to specify
        the PatchFunction1 coefficients.
      
        To replicated persistant data, use local member static data.
        Eg,
        ```
        code
        #{
            // Persistent (Member) Data
            static autoPtr<Function1<scalar>> baseVel;
            static autoPtr<Function1<vector>> baseDir;
            ...
        #}
        ```
      
      fvOptions:
      
      * currently not applicable
      b59ae32d
    • Mark OLESEN's avatar
      ENH: improve codeTemplates · b0891824
      Mark OLESEN authored
      - meshTools include/library for many (most) coded items
      
      - add PatchFunction1 include for coded BCs to provide ready access
        to Function1 and PatchFunction1
      b0891824
    • Mark OLESEN's avatar
      ENH: protected method fa/fv option::resetApplied() · 2f6739b1
      Mark OLESEN authored
      - resizes to current fieldNames_ size and assigns everything to
        false to avoid any "stickiness" if the field ordering changes
        between reads.
      
      ENH: additional debugging faOption/fvOption (#2110)
      
      - aids tracing which sources are being used/ignored
      - update code style
      
      STYLE: rename CodedSource -> CodedFvSource
      
      - avoid future name clashes with CodedFaSource
      2f6739b1
  3. May 31, 2021
  4. May 30, 2021
  5. May 28, 2021
  6. May 27, 2021