https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TestSolidMechanicsGhostBoundarySideUserObject.C
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
10#include "MooseMesh.h"
11
13
16{
18 params.addRelationshipManager("GhostBoundary",
19 Moose::RelationshipManagerType::GEOMETRIC,
20 [](const InputParameters & obj_params, InputParameters & rm_params)
21 {
22 rm_params.set<std::vector<BoundaryName>>("boundary") =
23 obj_params.get<std::vector<BoundaryName>>("boundary");
24 });
25 return params;
26}
27
registerMooseObject("SolidMechanicsTestApp", TestSolidMechanicsGhostBoundarySideUserObject)
std::vector< std::pair< R1, R2 > > get(const std::string &param1, const std::string &param2) const
void addRelationshipManager(const std::string &name, Moose::RelationshipManagerType rm_type, Moose::RelationshipManagerInputParameterCallback input_parameter_callback=nullptr)
T & set(const std::string &name, bool quiet_mode=false)
static InputParameters validParams()