RayBC that does nothing. More...
#include <NullRayBC.h>
Public Types | |
typedef DataFileName | DataFileParameterType |
enum | TEST_TYPE |
Public Member Functions | |
NullRayBC (const InputParameters ¶ms) | |
virtual void | onBoundary (const unsigned int num_applying) override |
Called on a Ray on the boundary to apply the Ray boundary condition. More... | |
const std::set< std::string > & | getRequestedItems () override |
const std::set< std::string > & | getSuppliedItems () override |
RayTracingStudy & | study () |
The RayTracingStudy associated with this object. More... | |
const RayTracingStudy & | study () const |
The RayTracingStudy associated with this object. More... | |
template<typename T > | |
T & | getStudy () |
Casts the RayTracingStudy associated with this object to a study of type T with a meaningful error message if it fails. More... | |
virtual void | preExecuteStudy () |
Insertion point called immediately before executing the RayTracingStudy. More... | |
virtual void | postExecuteStudy () |
Insertion point called immediately after executing the RayTracingStudy. More... | |
virtual bool | enabled () const |
std::shared_ptr< MooseObject > | getSharedPtr () |
std::shared_ptr< const MooseObject > | getSharedPtr () const |
MooseApp & | getMooseApp () const |
const std::string & | type () const |
virtual const std::string & | name () const |
std::string | typeAndName () const |
std::string | errorPrefix (const std::string &error_type) const |
void | callMooseError (std::string msg, const bool with_prefix) const |
MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
const InputParameters & | parameters () const |
MooseObjectName | uniqueName () const |
const T & | getParam (const std::string &name) const |
std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
const T * | queryParam (const std::string &name) const |
const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
bool | isParamValid (const std::string &name) const |
bool | isParamSetByUser (const std::string &nm) const |
void | paramError (const std::string ¶m, Args... args) const |
void | paramWarning (const std::string ¶m, Args... args) const |
void | paramInfo (const std::string ¶m, Args... args) const |
void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
void | mooseError (Args &&... args) const |
void | mooseErrorNonPrefixed (Args &&... args) const |
void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
void | mooseWarning (Args &&... args) const |
void | mooseWarningNonPrefixed (Args &&... args) const |
void | mooseDeprecated (Args &&... args) const |
void | mooseInfo (Args &&... args) const |
std::string | getDataFileName (const std::string ¶m) const |
std::string | getDataFileNameByName (const std::string &relative_path) const |
std::string | getDataFilePath (const std::string &relative_path) const |
const Parallel::Communicator & | comm () const |
processor_id_type | n_processors () const |
processor_id_type | processor_id () const |
virtual void | initialSetup () |
virtual void | timestepSetup () |
virtual void | jacobianSetup () |
virtual void | residualSetup () |
virtual void | subdomainSetup () |
virtual void | customSetup (const ExecFlagType &) |
const ExecFlagEnum & | getExecuteOnEnum () const |
const Function & | getFunction (const std::string &name) const |
const Function & | getFunctionByName (const FunctionName &name) const |
bool | hasFunction (const std::string ¶m_name) const |
bool | hasFunctionByName (const FunctionName &name) const |
bool | isDefaultPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
bool | hasPostprocessor (const std::string ¶m_name, const unsigned int index=0) const |
bool | hasPostprocessorByName (const PostprocessorName &name) const |
std::size_t | coupledPostprocessors (const std::string ¶m_name) const |
const PostprocessorName & | getPostprocessorName (const std::string ¶m_name, const unsigned int index=0) const |
const PostprocessorValue & | getPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
const PostprocessorValue & | getPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
const PostprocessorValue & | getPostprocessorValueOld (const std::string ¶m_name, const unsigned int index=0) const |
const PostprocessorValue & | getPostprocessorValueOld (const std::string ¶m_name, const unsigned int index=0) const |
const PostprocessorValue & | getPostprocessorValueOlder (const std::string ¶m_name, const unsigned int index=0) const |
const PostprocessorValue & | getPostprocessorValueOlder (const std::string ¶m_name, const unsigned int index=0) const |
virtual const PostprocessorValue & | getPostprocessorValueByName (const PostprocessorName &name) const |
virtual const PostprocessorValue & | getPostprocessorValueByName (const PostprocessorName &name) const |
const PostprocessorValue & | getPostprocessorValueOldByName (const PostprocessorName &name) const |
const PostprocessorValue & | getPostprocessorValueOldByName (const PostprocessorName &name) const |
const PostprocessorValue & | getPostprocessorValueOlderByName (const PostprocessorName &name) const |
const PostprocessorValue & | getPostprocessorValueOlderByName (const PostprocessorName &name) const |
const VectorPostprocessorValue & | getVectorPostprocessorValue (const std::string ¶m_name, const std::string &vector_name) const |
const VectorPostprocessorValue & | getVectorPostprocessorValue (const std::string ¶m_name, const std::string &vector_name, bool needs_broadcast) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueOld (const std::string ¶m_name, const std::string &vector_name) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueOld (const std::string ¶m_name, const std::string &vector_name, bool needs_broadcast) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const |
const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValue (const std::string ¶m_name, const std::string &vector_name) const |
const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValueOld (const std::string ¶m_name, const std::string &vector_name) const |
const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
bool | hasVectorPostprocessor (const std::string ¶m_name, const std::string &vector_name) const |
bool | hasVectorPostprocessor (const std::string ¶m_name) const |
bool | hasVectorPostprocessorByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
bool | hasVectorPostprocessorByName (const VectorPostprocessorName &name) const |
const VectorPostprocessorName & | getVectorPostprocessorName (const std::string ¶m_name) const |
bool | isVectorPostprocessorDistributed (const std::string ¶m_name) const |
bool | isVectorPostprocessorDistributed (const std::string ¶m_name) const |
bool | isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const |
bool | isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const |
virtual void | meshChanged () |
bool | isImplicit () |
Moose::StateArg | determineState () const |
UserObjectName | getUserObjectName (const std::string ¶m_name) const |
const T & | getUserObject (const std::string ¶m_name, bool is_dependency=true) const |
const T & | getUserObjectByName (const UserObjectName &object_name, bool is_dependency=true) const |
const UserObject & | getUserObjectBase (const std::string ¶m_name, bool is_dependency=true) const |
const UserObject & | getUserObjectBaseByName (const UserObjectName &object_name, bool is_dependency=true) const |
bool | hasUserObject (const std::string ¶m_name) const |
bool | hasUserObject (const std::string ¶m_name) const |
bool | hasUserObject (const std::string ¶m_name) const |
bool | hasUserObject (const std::string ¶m_name) const |
bool | hasUserObjectByName (const UserObjectName &object_name) const |
bool | hasUserObjectByName (const UserObjectName &object_name) const |
bool | hasUserObjectByName (const UserObjectName &object_name) const |
bool | hasUserObjectByName (const UserObjectName &object_name) const |
virtual const std::set< BoundaryID > & | boundaryIDs () const |
const std::vector< BoundaryName > & | boundaryNames () const |
unsigned int | numBoundaryIDs () const |
bool | hasBoundary (const BoundaryName &name) const |
bool | hasBoundary (const std::vector< BoundaryName > &names) const |
bool | hasBoundary (const BoundaryID &id) const |
bool | hasBoundary (const std::vector< BoundaryID > &ids, TEST_TYPE type=ALL) const |
bool | hasBoundary (const std::set< BoundaryID > &ids, TEST_TYPE type=ALL) const |
bool | isBoundarySubset (const std::set< BoundaryID > &ids) const |
bool | isBoundarySubset (const std::vector< BoundaryID > &ids) const |
bool | hasBoundaryMaterialProperty (const std::string &prop_name) const |
virtual bool | boundaryRestricted () const |
const std::set< BoundaryID > & | meshBoundaryIDs () const |
virtual bool | checkVariableBoundaryIntegrity () const |
Static Public Member Functions | |
static InputParameters | validParams () |
static void | sort (typename std::vector< T > &vector) |
static void | sortDFS (typename std::vector< T > &vector) |
static void | cyclicDependencyError (CyclicDependencyException< T2 > &e, const std::string &header) |
static bool | restricted (const std::set< BoundaryID > &ids) |
Public Attributes | |
const ConsoleStream | _console |
ALL | |
ANY | |
Protected Member Functions | |
void | changeRayDirection (const Point &direction, const bool skip_changed_check=false) |
Changes the current Ray's direction. More... | |
std::shared_ptr< Ray > | acquireRay (const Point &direction) |
Acquires a Ray to be used for generating a new Ray while tracing on the boundary. More... | |
void | moveRayToBuffer (std::shared_ptr< Ray > &ray) |
Moves a Ray into the working buffer to be traced during tracing with a meaningful error on verification failure. More... | |
const std::shared_ptr< Ray > & | currentRay () const |
Gets the current Ray that this is working on. More... | |
void | dependsOn (const std::string name) |
Add an object of this classes base type that this class depends on. More... | |
NonlinearSystemBase * | getNonlinearSystem () |
Get the right nonlinear system. More... | |
virtual void | addPostprocessorDependencyHelper (const PostprocessorName &) const |
virtual void | addVectorPostprocessorDependencyHelper (const VectorPostprocessorName &) const |
virtual void | addUserObjectDependencyHelper (const UserObject &) const |
T & | declareRestartableData (const std::string &data_name, Args &&... args) |
ManagedValue< T > | declareManagedRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args) |
const T & | getRestartableData (const std::string &data_name) const |
T & | declareRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args) |
T & | declareRecoverableData (const std::string &data_name, Args &&... args) |
T & | declareRestartableDataWithObjectName (const std::string &data_name, const std::string &object_name, Args &&... args) |
T & | declareRestartableDataWithObjectNameWithContext (const std::string &data_name, const std::string &object_name, void *context, Args &&... args) |
std::string | restartableName (const std::string &data_name) const |
bool | hasBoundaryMaterialPropertyHelper (const std::string &prop_name) const |
Protected Attributes | |
const Point & | _current_intersection_point |
The current intersection point on the boundary. More... | |
const BoundaryID & | _current_bnd_id |
The ID of the current intersected boundary. More... | |
const THREAD_ID | _tid |
The thread id. More... | |
FEProblemBase & | _fe_problem |
The FEProblemBase. More... | |
RayTracingStudy & | _study |
The RayTracingStudy associated with this object. More... | |
const TraceRay & | _trace_ray |
The TraceRay object associated with this thread. More... | |
NonlinearSystemBase * | _nl |
The nonlinear system, we might not have one. More... | |
AuxiliarySystem & | _aux |
The aux system. More... | |
MooseMesh & | _mesh |
The MooseMesh. More... | |
const Elem *const & | _current_elem |
The current Elem that _current_ray is tracing through. More... | |
const SubdomainID & | _current_subdomain_id |
The subdomain ID of the _current_elem that the ray is tracing through. More... | |
const unsigned short & | _current_intersected_side |
The side that _current_ray intersects (if any) More... | |
const ElemExtrema & | _current_intersected_extrema |
The elem extrema (vertex/edge) that _current_ray intersects (if any) More... | |
const bool & | _enabled |
MooseApp & | _app |
const std::string | _type |
const std::string | _name |
const InputParameters & | _pars |
Factory & | _factory |
ActionFactory & | _action_factory |
const Parallel::Communicator & | _communicator |
const ExecFlagEnum & | _execute_enum |
const ExecFlagType & | _current_execute_flag |
FEProblemBase & | _mci_feproblem |
const InputParameters & | _ti_params |
FEProblemBase & | _ti_feproblem |
bool | _is_implicit |
Real & | _t |
const Real & | _t_old |
int & | _t_step |
Real & | _dt |
Real & | _dt_old |
bool | _is_transient |
MooseApp & | _restartable_app |
const std::string | _restartable_system_name |
const THREAD_ID | _restartable_tid |
const bool | _restartable_read_only |
RayBC that does nothing.
Definition at line 17 of file NullRayBC.h.
NullRayBC::NullRayBC | ( | const InputParameters & | params | ) |
Definition at line 22 of file NullRayBC.C.
|
protectedinherited |
Acquires a Ray to be used for generating a new Ray while tracing on the boundary.
Appropriately sets the information needed:
direction
Definition at line 74 of file RayBoundaryConditionBase.C.
Referenced by CreateRayRayBCTest::onBoundary().
|
protectedinherited |
Changes the current Ray's direction.
The changed direction must be incoming on _current_intersected_side of _current_elem.
direction | The direction to change to |
skip_changed_check | Whether or not to skip the check if another BC has just changed this Ray's trajectory |
Definition at line 53 of file RayBoundaryConditionBase.C.
Referenced by ChangeRayRayBCTest::onBoundary(), and ReflectRayBC::onBoundary().
|
inlineprotectedinherited |
Gets the current Ray that this is working on.
Definition at line 83 of file RayTracingObject.h.
Referenced by RayBoundaryConditionBase::changeRayDirection(), RayKernelBase::changeRayStartDirection(), ChangeRayRayBCTest::onBoundary(), ReflectRayBC::onBoundary(), KillRayBC::onBoundary(), CreateRayRayBCTest::onBoundary(), ViewFactorRayBC::onBoundary(), ChangeRayRayKernelTest::onSegment(), KillRayKernel::onSegment(), TestRayDataRayKernel::onSegment(), CreateRayRayKernelTest::onSegment(), IntegralRayKernel::onSegment(), and RefractionRayKernelTest::onSegment().
|
inlineprotectedinherited |
Add an object of this classes base type that this class depends on.
Definition at line 88 of file RayTracingObject.h.
Referenced by RayBoundaryConditionBase::RayBoundaryConditionBase(), and RayKernelBase::RayKernelBase().
|
protectedinherited |
Get the right nonlinear system.
Some simulations might not have one, if some user objects only operate on aux variables we need a special treatment
Definition at line 66 of file RayTracingObject.C.
|
inlineoverridevirtualinherited |
Implements DependencyResolverInterface.
Definition at line 51 of file RayTracingObject.h.
|
inherited |
Casts the RayTracingStudy associated with this object to a study of type T with a meaningful error message if it fails.
Definition at line 137 of file RayTracingObject.h.
|
inlineoverridevirtualinherited |
Implements DependencyResolverInterface.
Definition at line 52 of file RayTracingObject.h.
Moves a Ray into the working buffer to be traced during tracing with a meaningful error on verification failure.
Definition at line 88 of file RayBoundaryConditionBase.C.
Referenced by CreateRayRayBCTest::onBoundary().
Called on a Ray on the boundary to apply the Ray boundary condition.
Important information available during onBoundary(): currentRay() - The current Ray that is being applied at the boundary _current_elem - The current Elem the Ray is tracing in _current_intersected_side - The side intersected on the boundary _current_intersection_point - The point intersected on the boundary _current_intersected_extrema - The extrema (vertex/edge) intersected on _current_elem on the boundary, if any _current_bnd_id - The ID of the intersected boundary
The only positional modification you can make to the Ray is to modify its direction via changeRayDirection().
Note on num_applying:
If hitting an edge in 3D or a vertex in 2D, the same Ray boundary condition may be applied multiple times if the Ray boundary condition is defined on multiple boundaries that meet at said edge/vertex. This will identify when this occurs.
Implements GeneralRayBC.
Definition at line 25 of file NullRayBC.C.
|
inlinevirtualinherited |
Insertion point called immediately after executing the RayTracingStudy.
Definition at line 77 of file RayTracingObject.h.
|
inlinevirtualinherited |
Insertion point called immediately before executing the RayTracingStudy.
Reimplemented in IntegralRayKernelBase.
Definition at line 73 of file RayTracingObject.h.
|
inlineinherited |
The RayTracingStudy associated with this object.
Definition at line 57 of file RayTracingObject.h.
Referenced by AttribRayTracingStudy::initFrom().
|
inlineinherited |
The RayTracingStudy associated with this object.
Definition at line 61 of file RayTracingObject.h.
|
static |
Definition at line 15 of file NullRayBC.C.
|
protectedinherited |
The aux system.
Definition at line 111 of file RayTracingObject.h.
|
protectedinherited |
The ID of the current intersected boundary.
Definition at line 91 of file RayBoundaryConditionBase.h.
Referenced by ViewFactorRayBC::onBoundary().
|
protectedinherited |
The current Elem that _current_ray is tracing through.
Definition at line 117 of file RayTracingObject.h.
Referenced by RayBoundaryConditionBase::acquireRay(), RayKernelBase::acquireRay(), RayKernelBase::changeRayStartDirection(), ReflectRayBC::onBoundary(), and ChangeRayRayKernelTest::onSegment().
|
protectedinherited |
The elem extrema (vertex/edge) that _current_ray intersects (if any)
Definition at line 123 of file RayTracingObject.h.
|
protectedinherited |
The side that _current_ray intersects (if any)
Definition at line 121 of file RayTracingObject.h.
Referenced by RayBoundaryConditionBase::acquireRay(), and ReflectRayBC::onBoundary().
|
protectedinherited |
The current intersection point on the boundary.
Definition at line 89 of file RayBoundaryConditionBase.h.
Referenced by RayBoundaryConditionBase::acquireRay().
|
protectedinherited |
The subdomain ID of the _current_elem that the ray is tracing through.
Definition at line 119 of file RayTracingObject.h.
|
protectedinherited |
The FEProblemBase.
Definition at line 101 of file RayTracingObject.h.
Referenced by ADRayKernelTempl< T >::ADRayKernelTempl(), RayTracingObject::getNonlinearSystem(), and RayKernelTempl< T >::RayKernelTempl().
|
protectedinherited |
The MooseMesh.
Definition at line 114 of file RayTracingObject.h.
Referenced by ADRayKernelTempl< T >::ADRayKernelTempl(), and RayKernelTempl< T >::RayKernelTempl().
|
protectedinherited |
The nonlinear system, we might not have one.
Definition at line 109 of file RayTracingObject.h.
|
protectedinherited |
The RayTracingStudy associated with this object.
Definition at line 104 of file RayTracingObject.h.
Referenced by RayBoundaryConditionBase::acquireRay(), RayKernelBase::acquireRay(), RayKernelBase::changeRayStartDirection(), RayTracingObject::getNonlinearSystem(), RayTracingObject::getStudy(), RayBoundaryConditionBase::moveRayToBuffer(), RayKernelBase::moveRayToBuffer(), ReflectRayBC::onBoundary(), and RayTracingObject::study().
|
protectedinherited |
The thread id.
Definition at line 98 of file RayTracingObject.h.
Referenced by RayBoundaryConditionBase::acquireRay(), RayKernelBase::acquireRay(), RayBoundaryConditionBase::moveRayToBuffer(), RayKernelBase::moveRayToBuffer(), ReflectRayBC::onBoundary(), and ViewFactorRayBC::onBoundary().
|
protectedinherited |
The TraceRay object associated with this thread.
Definition at line 106 of file RayTracingObject.h.