MooseVariableBase::MooseVariableBase(unsigned int var_num, const FEType & fe_type, SystemBase & sys, Assembly & assembly, Moose::VarKindType var_kind) : _var_num(var_num), _fe_type(fe_type), _var_kind(var_kind), _subproblem(sys.subproblem()), _sys(sys), _variable(sys.system().variable(_var_num)), _assembly(assembly), _dof_map(sys.dofMap()), _mesh(_subproblem.mesh()), _scaling_factor(1.0) { }
MooseVariableBase::MooseVariableBase(unsigned int var_num, const FEType & fe_type, SystemBase & sys, Moose::VarKindType var_kind, THREAD_ID tid) : _var_num(var_num), _fe_type(fe_type), _var_kind(var_kind), _subproblem(sys.subproblem()), _sys(sys), _variable(sys.system().variable(_var_num)), _dof_map(sys.dofMap()), _mesh(_subproblem.mesh()), _scaling_factor(1.0), _computing_jacobian(false), _tid(tid) { }