www.mooseframework.org
VolumeWeightedWeibull.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 #pragma once
11 
12 #include "RandomICBase.h"
13 
14 // Forward Declarations
15 class InputParameters;
17 
18 template <typename T>
19 InputParameters validParams();
20 
21 template <>
22 InputParameters validParams<VolumeWeightedWeibull>();
23 
33 class VolumeWeightedWeibull : public RandomICBase
34 {
35 public:
36  static InputParameters validParams();
37 
38  VolumeWeightedWeibull(const InputParameters & parameters);
39 
40  virtual Real value(const Point & p) override;
41 
42 protected:
44  const Real _reference_volume;
46  const Real _weibull_modulus;
48  const Real _median;
49 };
VolumeWeightedWeibull::_median
const Real _median
The median value of the strength for specimens having volume equal to the reference volume.
Definition: VolumeWeightedWeibull.h:48
VolumeWeightedWeibull::VolumeWeightedWeibull
VolumeWeightedWeibull(const InputParameters &parameters)
Definition: VolumeWeightedWeibull.C:30
VolumeWeightedWeibull::validParams
static InputParameters validParams()
Definition: VolumeWeightedWeibull.C:17
VolumeWeightedWeibull::_weibull_modulus
const Real _weibull_modulus
The Weibull modulus.
Definition: VolumeWeightedWeibull.h:46
VolumeWeightedWeibull
VolumeWeightedWeibull generates a spatially randomized field that follows a Weibull distribution weig...
Definition: VolumeWeightedWeibull.h:33
validParams
InputParameters validParams()
VolumeWeightedWeibull::value
virtual Real value(const Point &p) override
Definition: VolumeWeightedWeibull.C:39
validParams< VolumeWeightedWeibull >
InputParameters validParams< VolumeWeightedWeibull >()
VolumeWeightedWeibull::_reference_volume
const Real _reference_volume
The reference volume of the test specimen from which a median strength is obtained.
Definition: VolumeWeightedWeibull.h:44