https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PinUniverseEngUnit.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://www.mooseframework.org
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 "CSGUniverseEngUnit.h"
13#include "CSGBase.h"
14
15namespace CSG
16{
17
30{
31public:
45 PinUniverseEngUnit(const std::string & name,
46 const std::vector<Real> & ring_radii,
47 const std::vector<std::string> & fill_mats);
53 std::unordered_map<std::string, AttributeVariant> getAttributes() const override;
54
55protected:
61 std::unique_ptr<CSGUniverseEngUnit> clone() const override;
62
67 void expandUnit() override;
68
69private:
71 const std::vector<Real> _ring_radii;
72
74 std::vector<std::string> _fill_mats;
75};
76
77} // namespace CSG
const std::string name
Definition Setup.h:21
PinUniverseEngUnit is a CSGUniverseEngUnit that represents a 2D pin universe (concentric cylinders su...
void expandUnit() override
Represent the pin cell as a single universe that contains cells that define each region of the pin ce...
const std::vector< Real > _ring_radii
List of ring radii of pin cell.
std::unique_ptr< CSGUniverseEngUnit > clone() const override
Return a deep copy of this unit.
std::vector< std::string > _fill_mats
Region IDs of pin cell.
std::unordered_map< std::string, AttributeVariant > getAttributes() const override
Return the pin engineering unit attributes for this object.