示例#1
0
void symmetryPointPatch::applyConstraint
(
    const label pointi,
    pointConstraint& pc
) const
{
    pc.applyConstraint(pointNormals()[pointi]);
}
void Foam::emptyPointPatch::applyConstraint
(
    const label pointi,
    pointConstraint& pc
) const
{
    pc.applyConstraint(pointNormals()[pointi]);
}
void cyclicSlipPointPatch::applyConstraint
(
    const label pointi,
    pointConstraint& pc
) const
{
    pc.applyConstraint(pointNormals()[pointi]);
}
void nonuniformTransformCyclicPointPatch::applyConstraint
(
    const label pointi,
    pointConstraint& pc
) const
{
    pc.applyConstraint(pointNormals()[pointi]);
}
示例#5
0
const Foam::gpuField<PointType>&
Foam::PrimitivePatch<Face, FaceList, PointField, PointType>::
getPointNormals() const
{
    if ( ! gpuPointNormalsPtr_)
    {
        gpuPointNormalsPtr_ = new gpuField<PointType>(pointNormals());
    }

    return *gpuPointNormalsPtr_;
}