Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
e5f59854
Commit
e5f59854
authored
Jan 16, 2009
by
mattijs
Browse files
debug message
parent
3c426d3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/meshTools/searchableSurface/searchablePlate.C
View file @
e5f59854
...
...
@@ -218,7 +218,16 @@ Foam::searchablePlate::searchablePlate
origin_
(
origin
),
span_
(
span
),
normalDir_
(
calcNormal
(
span_
))
{}
{
if
(
debug
)
{
Info
<<
"searchablePlate::searchablePlate :"
<<
" origin:"
<<
origin_
<<
" origin+span:"
<<
origin_
+
span_
<<
" normal:"
<<
vector
::
componentNames
[
normalDir_
]
<<
endl
;
}
}
Foam
::
searchablePlate
::
searchablePlate
...
...
@@ -231,7 +240,16 @@ Foam::searchablePlate::searchablePlate
origin_
(
dict
.
lookup
(
"origin"
)),
span_
(
dict
.
lookup
(
"span"
)),
normalDir_
(
calcNormal
(
span_
))
{}
{
if
(
debug
)
{
Info
<<
"searchablePlate::searchablePlate :"
<<
" origin:"
<<
origin_
<<
" origin+span:"
<<
origin_
+
span_
<<
" normal:"
<<
vector
::
componentNames
[
normalDir_
]
<<
endl
;
}
}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
...
...
src/meshTools/searchableSurface/searchablePlate.H
View file @
e5f59854
...
...
@@ -27,7 +27,14 @@ Class
Description
Searching on finite plate. Plate has to be aligned with coordinate
axes!
axes.
Plate defined as origin and span. One of the components of span has
to be 0 which defines the normal direction. E.g.
span = (Sx Sy 0) // plate in x-y plane
origin = (Ox Oy Oz)
now plane is from (Ox Oy Oz) to (Ox+Sx Oy+Sy Oz)
SourceFiles
searchablePlate.C
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment