LCOV - code coverage report
Current view: top level - src/userobjects - RichardsSUPGnone.C (source / functions) Hit Total Coverage
Test: idaholab/moose richards: #31405 (292dce) with base fef103 Lines: 7 26 26.9 %
Date: 2025-09-04 07:56:35 Functions: 3 12 25.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of the MOOSE framework
       2             : //* https://mooseframework.inl.gov
       3             : //*
       4             : //* All rights reserved, see COPYRIGHT for full restrictions
       5             : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
       6             : //*
       7             : //* Licensed under LGPL 2.1, please see LICENSE for details
       8             : //* https://www.gnu.org/licenses/lgpl-2.1.html
       9             : 
      10             : //  User object to implement no SUPG
      11             : //
      12             : #include "RichardsSUPGnone.h"
      13             : 
      14             : registerMooseObject("RichardsApp", RichardsSUPGnone);
      15             : 
      16             : InputParameters
      17         228 : RichardsSUPGnone::validParams()
      18             : {
      19         228 :   InputParameters params = RichardsSUPG::validParams();
      20         228 :   params.addClassDescription("User object for no SUPG");
      21         228 :   return params;
      22           0 : }
      23             : 
      24         114 : RichardsSUPGnone::RichardsSUPGnone(const InputParameters & parameters) : RichardsSUPG(parameters) {}
      25             : 
      26           0 : RealVectorValue RichardsSUPGnone::velSUPG(RealTensorValue /*perm*/,
      27             :                                           RealVectorValue /*gradp*/,
      28             :                                           Real /*density*/,
      29             :                                           RealVectorValue /*gravity*/) const
      30             : {
      31           0 :   return RealVectorValue();
      32             : }
      33             : 
      34           0 : RealTensorValue RichardsSUPGnone::dvelSUPG_dgradp(RealTensorValue /*perm*/) const
      35             : {
      36           0 :   return RealTensorValue();
      37             : }
      38             : 
      39           0 : RealVectorValue RichardsSUPGnone::dvelSUPG_dp(RealTensorValue /*perm*/,
      40             :                                               Real /*density_prime*/,
      41             :                                               RealVectorValue /*gravity*/) const
      42             : {
      43           0 :   return RealVectorValue();
      44             : }
      45             : 
      46             : RealVectorValue
      47           0 : RichardsSUPGnone::bb(RealVectorValue /*vel*/,
      48             :                      int /*dimen*/,
      49             :                      RealVectorValue /*xi_prime*/,
      50             :                      RealVectorValue /*eta_prime*/,
      51             :                      RealVectorValue /*zeta_prime*/) const
      52             : {
      53           0 :   return RealVectorValue();
      54             : }
      55             : 
      56             : // following is d(bb*bb)/d(gradp)
      57           0 : RealVectorValue RichardsSUPGnone::dbb2_dgradp(RealVectorValue /*vel*/,
      58             :                                               RealTensorValue /*dvel_dgradp*/,
      59             :                                               RealVectorValue /*xi_prime*/,
      60             :                                               RealVectorValue /*eta_prime*/,
      61             :                                               RealVectorValue /*zeta_prime*/) const
      62             : {
      63           0 :   return RealVectorValue();
      64             : }
      65             : 
      66             : // following is d(bb*bb)/d(p)
      67           0 : Real RichardsSUPGnone::dbb2_dp(RealVectorValue /*vel*/,
      68             :                                RealVectorValue /*dvel_dp*/,
      69             :                                RealVectorValue /*xi_prime*/,
      70             :                                RealVectorValue /*eta_prime*/,
      71             :                                RealVectorValue /*zeta_prime*/) const
      72             : {
      73           0 :   return 0;
      74             : }
      75             : 
      76           0 : Real RichardsSUPGnone::tauSUPG(RealVectorValue /*vel*/,
      77             :                                Real /*traceperm*/,
      78             :                                RealVectorValue /*b*/) const
      79             : {
      80           0 :   return 0;
      81             : }
      82             : 
      83           0 : RealVectorValue RichardsSUPGnone::dtauSUPG_dgradp(RealVectorValue /*vel*/,
      84             :                                                   RealTensorValue /*dvel_dgradp*/,
      85             :                                                   Real /*traceperm*/,
      86             :                                                   RealVectorValue /*b*/,
      87             :                                                   RealVectorValue /*db2_dgradp*/) const
      88             : {
      89           0 :   return RealVectorValue();
      90             : }
      91             : 
      92           0 : Real RichardsSUPGnone::dtauSUPG_dp(RealVectorValue /*vel*/,
      93             :                                    RealVectorValue /*dvel_dp*/,
      94             :                                    Real /*traceperm*/,
      95             :                                    RealVectorValue /*b*/,
      96             :                                    Real /*db2_dp*/) const
      97             : {
      98           0 :   return 0;
      99             : }
     100             : 
     101             : bool
     102      641162 : RichardsSUPGnone::SUPG_trivial() const
     103             : {
     104      641162 :   return true;
     105             : }

Generated by: LCOV version 1.14