https://mooseframework.inl.gov
SCMSolutionTransfer.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "MultiAppTransfer.h"
13 
14 class SubChannelMesh;
15 
20 {
21 public:
23 
24  virtual void execute() override;
25  void initialSetup() override;
26 
27 protected:
28  void transferToMultiApps();
29  void transferVarsToApp(unsigned int app_idx);
30  void transferNodalVars(unsigned int app_idx);
31  Node * getFromNode(const SubChannelMesh & from_mesh, const Point & src_node);
32 
34  const std::vector<AuxVariableName> & _var_names;
35 
37  const bool _pin_transfer;
38 
39 public:
41 };
virtual void execute() override
void transferVarsToApp(unsigned int app_idx)
const InputParameters & parameters() const
static InputParameters validParams()
const std::vector< AuxVariableName > & _var_names
Variable names to transfer.
void initialSetup() override
SCMSolutionTransfer(const InputParameters &parameters)
Transfers subchannel and pin solutions from a SubChannel mesh onto a visualization mesh...
Node * getFromNode(const SubChannelMesh &from_mesh, const Point &src_node)
void transferNodalVars(unsigned int app_idx)
const bool _pin_transfer
Whether pin fields should be transferred instead of subchannel fields.
Base class for subchannel meshes.