https://mooseframework.inl.gov
BackfaceCullingStudyTest.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 "LotsOfRaysRayStudy.h"
13 
23 {
24 public:
26 
28 
29  void initialSetup() override;
30  void meshChanged() override;
31 
32  const Point * getElemNormals(const Elem * elem, const THREAD_ID tid) override;
33 
34 private:
35  virtual void generateNormals();
36 
37  std::unordered_map<const Elem *, std::vector<Point>> _normals;
38 };
const Point * getElemNormals(const Elem *elem, const THREAD_ID tid) override
Gets the outward normals for a given element.
A test study that tests the use of backface culling in TraceRay.
std::unordered_map< const Elem *, std::vector< Point > > _normals
BackfaceCullingStudyTest(const InputParameters &parameters)
const InputParameters & parameters() const
static InputParameters validParams()
A RayTracingStudy used for generating a lot of rays for testing purposes.
unsigned int THREAD_ID