Go to the documentation of this file.
38 searchableSurfaceFeatures,
39 searchablePlateFeatures,
68 edges[edgeI][0] = edgesArray[edgeI][0];
69 edges[edgeI][1] = edgesArray[edgeI][1];
88 dict.lookupOrDefault<
word>(
"meshableSide",
"inside")
93 <<
" Meshable region = "
123 edgeNormals[0][0] = 0; edgeNormals[0][1] = 0;
124 edgeNormals[1][0] = 0; edgeNormals[1][1] = 0;
125 edgeNormals[2][0] = 0; edgeNormals[2][1] = 0;
126 edgeNormals[3][0] = 0; edgeNormals[3][1] = 0;
128 forAll(edgeDirections, eI)
131 surface().points()()[edges[eI].end()]
132 -
surface().points()()[edges[eI].start()];
135 for (
label j = 0; j < 2; ++j)
138 (faceNormals[edgeNormals[eI][j]] ^ edgeDirections[eI]);
141 -
surface().points()()[edges[eI].start()];
143 normalDirections[eI][j] =
147 & (fC0tofE0/(
mag(fC0tofE0)+ VSMALL))
158 forAll(featurePointNormals, pI)
160 labelList& ftPtEdges = featurePointEdges[pI];
166 const edge&
e = edges[eI];
170 ftPtEdges[edgeI++] = eI;
172 else if (
e.end() == pI)
174 ftPtEdges[edgeI++] = eI;
178 labelList& ftPtNormals = featurePointNormals[pI];
181 ftPtNormals[0] = edgeNormals[ftPtEdges[0]][0];
194 "extendedFeatureEdgeMesh",
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
List< label > labelList
A List of labels.
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
static edgeList calcEdges(const label[4][2])
To initialise edges.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
searchablePlateFeatures(const searchablePlateFeatures &)
Disallow default bitwise copy construct.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
virtual ~searchablePlateFeatures()
Destructor.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
void set(T *)
Set pointer to that given.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
static const Foam::NamedEnum< sideVolumeType, 4 > sideVolumeTypeNames_
const extendedFeatureEdgeMesh::sideVolumeType mode_
Which side of the plate to mesh.
const double e
Elementary charge.
Ostream & indent(Ostream &os)
Indent stream.
static const edgeList edges
Edge to point addressing.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
virtual autoPtr< extendedFeatureEdgeMesh > features() const
Return an extendedFeatureEdgeMesh containing the features.
void setSize(const label)
Reset size of List.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Decorator that returns the features of a searchable surface.
void cross(FieldField< Field1, typename crossProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
word name(const complex &)
Return a string representation of a complex.