https://mooseframework.inl.gov
Loading...
Searching...
No Matches
shifted_boundary_method
include
meshmodifiers
InterceptedElementModifier.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 "
SBMElementSubdomainModifierBase.h
"
13
14
class
Function
;
15
class
PointInSurfaceCheckInterface
;
16
17
class
InterceptedElementModifier
:
public
SBMElementSubdomainModifierBase
18
{
19
public
:
20
static
InputParameters
validParams
();
21
InterceptedElementModifier
(
const
InputParameters
&
parameters
);
22
23
protected
:
24
virtual
SubdomainID
computeSubdomainID
()
override
;
25
virtual
void
initialSetup
()
override
;
26
28
const
Function
*
_parsed_function
;
29
30
private
:
31
enum class
DistanceType
32
{
33
NONE
= -1,
34
SIGNED_DISTANCE
= 0,
35
GEOMETRY
= 1
36
};
37
40
const
PointInSurfaceCheckInterface
*
getCheckedInOutTest
();
41
43
SubdomainID
_subdomain_id_inside
;
45
SubdomainID
_subdomain_id_outside
;
46
48
Real
_threshold
;
49
53
bool
_is_domain_inside_surface
;
54
56
const
PointInSurfaceCheckInterface
*
_in_out_test_base
;
57
61
DistanceType
_in_out_test_type
=
DistanceType::NONE
;
62
};
SubdomainID
subdomain_id_type SubdomainID
SBMElementSubdomainModifierBase.h
Function
InterceptedElementModifier
Definition
InterceptedElementModifier.h:18
InterceptedElementModifier::_in_out_test_type
DistanceType _in_out_test_type
How to classify the element to be inside or outside.
Definition
InterceptedElementModifier.h:61
InterceptedElementModifier::validParams
static InputParameters validParams()
Definition
InterceptedElementModifier.C:19
InterceptedElementModifier::_in_out_test_base
const PointInSurfaceCheckInterface * _in_out_test_base
user object for in-out test
Definition
InterceptedElementModifier.h:56
InterceptedElementModifier::initialSetup
virtual void initialSetup() override
Validate that exactly one geometry source (signed_dist_function or in_out_test) is set,...
Definition
InterceptedElementModifier.C:83
InterceptedElementModifier::_subdomain_id_outside
SubdomainID _subdomain_id_outside
IDs for subdomain classification (outside)
Definition
InterceptedElementModifier.h:45
InterceptedElementModifier::getCheckedInOutTest
const PointInSurfaceCheckInterface * getCheckedInOutTest()
Fetches the "in_out_test" user object and validates it implements the point-in-surface check interfac...
Definition
InterceptedElementModifier.C:66
InterceptedElementModifier::DistanceType
DistanceType
Definition
InterceptedElementModifier.h:32
InterceptedElementModifier::DistanceType::GEOMETRY
@ GEOMETRY
InterceptedElementModifier::DistanceType::NONE
@ NONE
InterceptedElementModifier::DistanceType::SIGNED_DISTANCE
@ SIGNED_DISTANCE
InterceptedElementModifier::_parsed_function
const Function * _parsed_function
Store the parsed function.
Definition
InterceptedElementModifier.h:28
InterceptedElementModifier::_subdomain_id_inside
SubdomainID _subdomain_id_inside
IDs for subdomain classification (inside)
Definition
InterceptedElementModifier.h:43
InterceptedElementModifier::_threshold
Real _threshold
Threshold value for classification.
Definition
InterceptedElementModifier.h:48
InterceptedElementModifier::computeSubdomainID
virtual SubdomainID computeSubdomainID() override
Definition
InterceptedElementModifier.C:107
InterceptedElementModifier::_is_domain_inside_surface
bool _is_domain_inside_surface
When true, the retained (inside) domain is the region enclosed by the surface (signed distance below ...
Definition
InterceptedElementModifier.h:53
ElementSubdomainModifier::parameters
const InputParameters & parameters() const
PointInSurfaceCheckInterface
SBMElementSubdomainModifierBase
Common partial-element classification parameters for shifted boundary element modifiers.
Definition
SBMElementSubdomainModifierBase.h:19
InputParameters
Generated on Fri Sep 11 2026 20:36:42 for https://mooseframework.inl.gov by
1.9.8