www.mooseframework.org
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
DerivativeKernelInterface< T > Class Template Reference

Interface class ("Veneer") to provide generator methods for derivative material property names, and guarded getMaterialPropertyPointer calls. More...

#include <DerivativeKernelInterface.h>

Inheritance diagram for DerivativeKernelInterface< T >:
[legend]

Public Member Functions

 DerivativeKernelInterface (const InputParameters &parameters)
 

Static Public Member Functions

static InputParameters validParams ()
 as partial template specialization is not allowed in C++ we have to implement this as a static method More...
 

Protected Attributes

unsigned int _nvar
 
std::string _F_name
 

Detailed Description

template<class T>
class DerivativeKernelInterface< T >

Interface class ("Veneer") to provide generator methods for derivative material property names, and guarded getMaterialPropertyPointer calls.

Definition at line 17 of file DerivativeKernelInterface.h.

Constructor & Destructor Documentation

template<class T >
DerivativeKernelInterface< T >::DerivativeKernelInterface ( const InputParameters &  parameters)

Definition at line 31 of file DerivativeKernelInterface.h.

32  : DerivativeMaterialInterface<T>(parameters),
33  _nvar(this->_coupled_moose_vars.size()),
34  _F_name(this->template getParam<std::string>("f_name"))
35 {
36 }

Member Function Documentation

template<class T >
InputParameters DerivativeKernelInterface< T >::validParams ( )
static

as partial template specialization is not allowed in C++ we have to implement this as a static method

Definition at line 40 of file DerivativeKernelInterface.h.

41 {
42  InputParameters params = ::validParams<T>();
43  params.addRequiredParam<std::string>(
44  "f_name", "Base name of the free energy function F defined in a DerivativeParsedMaterial");
45  return params;
46 }

Member Data Documentation

template<class T >
std::string DerivativeKernelInterface< T >::_F_name
protected

Definition at line 27 of file DerivativeKernelInterface.h.

template<class T >
unsigned int DerivativeKernelInterface< T >::_nvar
protected

Definition at line 26 of file DerivativeKernelInterface.h.


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