www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PFFracBulkRateMaterial Class Reference

#include <PFFracBulkRateMaterial.h>

Inheritance diagram for PFFracBulkRateMaterial:
[legend]

Public Member Functions

 PFFracBulkRateMaterial (const InputParameters &parameters)
 

Protected Member Functions

virtual void initQpStatefulProperties ()
 
virtual void computeQpProperties ()
 
virtual void getProp ()
 This function obtains the value of gc Must be overidden by the user for heterogeneous gc. More...
 

Protected Attributes

Real _gc
 Input parameter for homogeneous gc. More...
 
MaterialProperty< Real > & _gc_prop
 Material property where the gc values are stored. More...
 
Function * _function_prop
 Function to specify varying gc. More...
 

Detailed Description

Definition at line 24 of file PFFracBulkRateMaterial.h.

Constructor & Destructor Documentation

PFFracBulkRateMaterial::PFFracBulkRateMaterial ( const InputParameters &  parameters)

Definition at line 23 of file PFFracBulkRateMaterial.C.

24  : Material(parameters),
25  _gc(getParam<Real>("gc")),
26  _gc_prop(declareProperty<Real>("gc_prop")),
27  _function_prop(isParamValid("function") ? &getFunction("function") : NULL)
28 {
29 }
MaterialProperty< Real > & _gc_prop
Material property where the gc values are stored.
Function * _function_prop
Function to specify varying gc.
Real _gc
Input parameter for homogeneous gc.

Member Function Documentation

void PFFracBulkRateMaterial::computeQpProperties ( )
protectedvirtual

This function computes heterogeneous gc User should override this function if heterogenities needs consideration

Definition at line 38 of file PFFracBulkRateMaterial.C.

39 {
40  _gc_prop[_qp] = _gc;
45  getProp();
46 }
MaterialProperty< Real > & _gc_prop
Material property where the gc values are stored.
Real _gc
Input parameter for homogeneous gc.
virtual void getProp()
This function obtains the value of gc Must be overidden by the user for heterogeneous gc...
void PFFracBulkRateMaterial::getProp ( )
protectedvirtual

This function obtains the value of gc Must be overidden by the user for heterogeneous gc.

Definition at line 49 of file PFFracBulkRateMaterial.C.

Referenced by computeQpProperties().

50 {
51  if (_function_prop != NULL)
52  _gc_prop[_qp] = _function_prop->value(_t, _q_point[_qp]);
53 }
MaterialProperty< Real > & _gc_prop
Material property where the gc values are stored.
Function * _function_prop
Function to specify varying gc.
void PFFracBulkRateMaterial::initQpStatefulProperties ( )
protectedvirtual

Definition at line 32 of file PFFracBulkRateMaterial.C.

33 {
34  _gc_prop[_qp] = _gc;
35 }
MaterialProperty< Real > & _gc_prop
Material property where the gc values are stored.
Real _gc
Input parameter for homogeneous gc.

Member Data Documentation

Function* PFFracBulkRateMaterial::_function_prop
protected

Function to specify varying gc.

Definition at line 44 of file PFFracBulkRateMaterial.h.

Referenced by getProp().

Real PFFracBulkRateMaterial::_gc
protected

Input parameter for homogeneous gc.

Definition at line 39 of file PFFracBulkRateMaterial.h.

Referenced by computeQpProperties(), and initQpStatefulProperties().

MaterialProperty<Real>& PFFracBulkRateMaterial::_gc_prop
protected

Material property where the gc values are stored.

Definition at line 42 of file PFFracBulkRateMaterial.h.

Referenced by computeQpProperties(), getProp(), and initQpStatefulProperties().


The documentation for this class was generated from the following files: