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

#include <ConservedLangevinNoise.h>

Inheritance diagram for ConservedLangevinNoise:
[legend]

Public Member Functions

 ConservedLangevinNoise (const InputParameters &parameters)
 

Protected Member Functions

virtual void residualSetup ()
 
virtual Real computeQpResidual ()
 

Protected Attributes

const Real _amplitude
 
const MaterialProperty< Real > & _multiplier_prop
 

Private Attributes

const ConservedNoiseInterface_noise
 

Detailed Description

Definition at line 22 of file ConservedLangevinNoise.h.

Constructor & Destructor Documentation

◆ ConservedLangevinNoise()

ConservedLangevinNoise::ConservedLangevinNoise ( const InputParameters &  parameters)

Definition at line 24 of file ConservedLangevinNoise.C.

25  : LangevinNoise(parameters), _noise(getUserObject<ConservedNoiseInterface>("noise"))
26 {
27 }
LangevinNoise(const InputParameters &parameters)
Definition: LangevinNoise.C:28
const ConservedNoiseInterface & _noise

Member Function Documentation

◆ computeQpResidual()

Real ConservedLangevinNoise::computeQpResidual ( )
protectedvirtual

Reimplemented from LangevinNoise.

Definition at line 30 of file ConservedLangevinNoise.C.

31 {
32  return -_test[_i][_qp] * _noise.getQpValue(_current_elem->id(), _qp) * _amplitude *
33  _multiplier_prop[_qp];
34 }
const Real _amplitude
Definition: LangevinNoise.h:30
const MaterialProperty< Real > & _multiplier_prop
Definition: LangevinNoise.h:31
const ConservedNoiseInterface & _noise
virtual Real getQpValue(dof_id_type element_id, unsigned int qp) const =0

◆ residualSetup()

virtual void ConservedLangevinNoise::residualSetup ( )
inlineprotectedvirtual

Reimplemented from LangevinNoise.

Definition at line 28 of file ConservedLangevinNoise.h.

28 {};

Member Data Documentation

◆ _amplitude

const Real LangevinNoise::_amplitude
protectedinherited

Definition at line 30 of file LangevinNoise.h.

Referenced by LangevinNoise::computeQpResidual(), and computeQpResidual().

◆ _multiplier_prop

const MaterialProperty<Real>& LangevinNoise::_multiplier_prop
protectedinherited

Definition at line 31 of file LangevinNoise.h.

Referenced by LangevinNoise::computeQpResidual(), and computeQpResidual().

◆ _noise

const ConservedNoiseInterface& ConservedLangevinNoise::_noise
private

Definition at line 32 of file ConservedLangevinNoise.h.

Referenced by computeQpResidual().


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