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