inline void PHX::FieldManager<Traits>:: setUnmanagedField(PHX::MDField<DataT,Tag0,Tag1,Tag2,Tag3,Tag4, Tag5,Tag6,Tag7>& f) { PHX::any any_f(f.get_static_view()); m_eval_containers.template getAsObject<EvalT>()->setUnmanagedField(f.fieldTag(),any_f); }
inline void PHX::FieldManager<Traits>:: getFieldData(PHX::MDField<const DataT,Tag0,Tag1,Tag2,Tag3,Tag4, Tag5,Tag6,Tag7>& f) { PHX::any a = m_eval_containers.template getAsObject<EvalT>()->getFieldData(f.fieldTag()); f.setFieldData(a); }
panzer::GatherSolution_BlockedTpetra<EvalT, TRAITS,S,LO,GO,NodeT>:: GatherSolution_BlockedTpetra( const Teuchos::RCP<const BlockedDOFManager<LO,GO> > & indexer, const Teuchos::ParameterList& p) { const std::vector<std::string>& names = *(p.get< Teuchos::RCP< std::vector<std::string> > >("DOF Names")); Teuchos::RCP<panzer::PureBasis> basis = p.get< Teuchos::RCP<panzer::PureBasis> >("Basis"); for (std::size_t fd = 0; fd < names.size(); ++fd) { PHX::MDField<ScalarT,Cell,NODE> field = PHX::MDField<ScalarT,Cell,NODE>(names[fd],basis->functional); this->addEvaluatedField(field.fieldTag()); } this->setName("Gather Solution"); }
inline void PHX::FieldManager<Traits>:: setUnmanagedField(PHX::MDField<DataT>& f) { m_eval_containers.template getAsObject<EvalT>()->setUnmanagedField(f.fieldTag(),f.get_static_any_view()); }
void PHX::EvaluatorWithBaseImpl<Traits>:: addEvaluatedField(const PHX::MDField<DataT,Tag0,Tag1,Tag2,Tag3, Tag4,Tag5,Tag6,Tag7>& f) { this->addEvaluatedField(f.fieldTag()); }