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

#include <BndsCalcIC.h>

Inheritance diagram for BndsCalcIC:
[legend]

Public Member Functions

 BndsCalcIC (const InputParameters &parameters)
 
virtual Real value (const Point &) override
 

Protected Attributes

const unsigned int _op_num
 
std::vector< const VariableValue * > _vals
 

Detailed Description

Definition at line 20 of file BndsCalcIC.h.

Constructor & Destructor Documentation

◆ BndsCalcIC()

BndsCalcIC::BndsCalcIC ( const InputParameters &  parameters)

Definition at line 27 of file BndsCalcIC.C.

28  : InitialCondition(parameters), _op_num(coupledComponents("v")), _vals(_op_num)
29 {
30  for (unsigned int i = 0; i < _op_num; ++i)
31  _vals[i] = &coupledValue("v", i);
32 }

Member Function Documentation

◆ value()

Real BndsCalcIC::value ( const Point &  )
overridevirtual

Definition at line 35 of file BndsCalcIC.C.

36 {
38 }

Member Data Documentation

◆ _op_num

const unsigned int BndsCalcIC::_op_num
protected

Definition at line 28 of file BndsCalcIC.h.

Referenced by BndsCalcIC().

◆ _vals

std::vector<const VariableValue *> BndsCalcIC::_vals
protected

Definition at line 29 of file BndsCalcIC.h.

Referenced by BndsCalcIC(), and value().


The documentation for this class was generated from the following files:
BndsCalcIC::_vals
std::vector< const VariableValue * > _vals
Definition: BndsCalcIC.h:29
BndsCalculator::computeBndsVariable
Real computeBndsVariable(const std::vector< T * > &var, unsigned int qp)
Definition: BndsCalculator.h:17
BndsCalcIC::_op_num
const unsigned int _op_num
Definition: BndsCalcIC.h:28