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

#include <EBCoupledVarTest.h>

Inheritance diagram for EBCoupledVarTest:
[legend]

Public Types

typedef std::vector< EBTermEBTermList
 
typedef std::vector< EBTermNode * > EBTermNodeList
 
typedef std::vector< const EBSubstitutionRule * > EBSubstitutionRuleList
 

Public Member Functions

 EBCoupledVarTest (const InputParameters &parameters)
 
 BINARYFUNC_OP_IMPLEMENT (+, ADD) BINARYFUNC_OP_IMPLEMENT(-
 
SUB BINARYFUNC_OP_IMPLEMENT MUL BINARYFUNC_OP_IMPLEMENT (/, DIV) BINARYFUNC_OP_IMPLEMENT(%
 
SUB BINARYFUNC_OP_IMPLEMENT MUL MOD BINARYFUNC_OP_IMPLEMENT (<, LESS) BINARYFUNC_OP_IMPLEMENT(>
 
SUB BINARYFUNC_OP_IMPLEMENT MUL MOD GREATER BINARYFUNC_OP_IMPLEMENT (<=, LESSEQ) BINARYFUNC_OP_IMPLEMENT(>
 
SUB BINARYFUNC_OP_IMPLEMENT MUL MOD GREATER GREATEREQ BINARYFUNC_OP_IMPLEMENT (==, EQ) BINARYFUNC_OP_IMPLEMENT(!
 

Protected Attributes

const unsigned int _op_num
 
std::vector< EBTerm_vals
 

Detailed Description

Definition at line 21 of file EBCoupledVarTest.h.

Member Typedef Documentation

◆ EBSubstitutionRuleList

typedef std::vector<const EBSubstitutionRule *> ExpressionBuilder::EBSubstitutionRuleList
inherited

Definition at line 59 of file ExpressionBuilder.h.

◆ EBTermList

typedef std::vector<EBTerm> ExpressionBuilder::EBTermList
inherited

Definition at line 56 of file ExpressionBuilder.h.

◆ EBTermNodeList

typedef std::vector<EBTermNode *> ExpressionBuilder::EBTermNodeList
inherited

Definition at line 58 of file ExpressionBuilder.h.

Constructor & Destructor Documentation

◆ EBCoupledVarTest()

EBCoupledVarTest::EBCoupledVarTest ( const InputParameters &  parameters)

Definition at line 27 of file EBCoupledVarTest.C.

28  : DerivativeParsedMaterialHelper(parameters), _op_num(coupledComponents("v")), _vals(_op_num)
29 {
30  EBTerm newest("v");
31  std::string new_name;
32  for (unsigned int i = 0; i < _op_num; ++i)
33  {
34  new_name = "v" + std::to_string(i);
35  EBTerm new_term(new_name.c_str());
36  _vals[i] = new_term;
37  }
38  EBFunction tester;
39  tester(_vals) = _vals[0] + 2 * _vals[1];
40 
41  functionParse(tester);
42 }

Member Function Documentation

◆ BINARYFUNC_OP_IMPLEMENT() [1/5]

ExpressionBuilder::BINARYFUNC_OP_IMPLEMENT ( ,
ADD   
)
inherited

◆ BINARYFUNC_OP_IMPLEMENT() [2/5]

SUB BINARYFUNC_OP_IMPLEMENT MUL ExpressionBuilder::BINARYFUNC_OP_IMPLEMENT ( ,
DIV   
)
inherited

◆ BINARYFUNC_OP_IMPLEMENT() [3/5]

SUB BINARYFUNC_OP_IMPLEMENT MUL MOD ExpressionBuilder::BINARYFUNC_OP_IMPLEMENT ( )
inherited

◆ BINARYFUNC_OP_IMPLEMENT() [4/5]

SUB BINARYFUNC_OP_IMPLEMENT MUL MOD GREATER ExpressionBuilder::BINARYFUNC_OP_IMPLEMENT ( <=  ,
LESSEQ   
)
inherited

◆ BINARYFUNC_OP_IMPLEMENT() [5/5]

SUB BINARYFUNC_OP_IMPLEMENT MUL MOD GREATER GREATEREQ ExpressionBuilder::BINARYFUNC_OP_IMPLEMENT ( EQ  )
inherited

Member Data Documentation

◆ _op_num

const unsigned int EBCoupledVarTest::_op_num
protected

Definition at line 27 of file EBCoupledVarTest.h.

Referenced by EBCoupledVarTest().

◆ _vals

std::vector<EBTerm> EBCoupledVarTest::_vals
protected

Definition at line 28 of file EBCoupledVarTest.h.

Referenced by EBCoupledVarTest().


The documentation for this class was generated from the following files:
EBCoupledVarTest::_op_num
const unsigned int _op_num
Definition: EBCoupledVarTest.h:27
EBCoupledVarTest::_vals
std::vector< EBTerm > _vals
Definition: EBCoupledVarTest.h:28