Loading...
Searching...
No Matches
fromFile Class Reference

Reads control points from constant/controlPoints. More...

#include <fromFile.H>

Inheritance diagram for fromFile:
Collaboration diagram for fromFile:

Public Member Functions

 TypeName ("fromFile")
 Runtime type information.
 fromFile (NURBS3DVolume &box)
 Construct from components.
virtual ~fromFile ()=default
 Destructor.
Public Member Functions inherited from controlPointsDefinition
 TypeName ("controlPointsDefinition")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, controlPointsDefinition, dictionary,(NURBS3DVolume &box),(box))
 controlPointsDefinition (NURBS3DVolume &box)
 Construct from underlaying NURBS box.
virtual ~controlPointsDefinition ()=default
 Destructor.

Protected Member Functions

virtual void computeControlPoints ()
 Compute control points.
Protected Member Functions inherited from controlPointsDefinition
void transformControlPoints (const vector &geometryMin, const vector &geometryMax)
 Transform control points using the equivalent position, rotation and scale values from the Paraview clip filter.

Additional Inherited Members

Static Public Member Functions inherited from controlPointsDefinition
static autoPtr< controlPointsDefinition > New (NURBS3DVolume &box)
 Return a reference to the selected controlPointsDefinition model.
Protected Attributes inherited from controlPointsDefinition
NURBS3DVolumebox_
 The volumetric B-Splines box.
vectorFieldcps_
 The volumetric B-Splines control points.

Detailed Description

Reads control points from constant/controlPoints.

Source files

Definition at line 48 of file fromFile.H.

Constructor & Destructor Documentation

◆ fromFile()

fromFile ( NURBS3DVolume & box)

Construct from components.

Definition at line 79 of file fromFile.C.

References computeControlPoints().

Here is the call graph for this function:

◆ ~fromFile()

virtual ~fromFile ( )
virtualdefault

Destructor.

Member Function Documentation

◆ computeControlPoints()

void computeControlPoints ( )
protectedvirtual

Compute control points.

Implements controlPointsDefinition.

Definition at line 44 of file fromFile.C.

References controlPointsDefinition::box_, controlPointsDefinition::cps_, dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, mesh, IOobjectOption::MUST_READ, IOobjectOption::NO_REGISTER, IOobjectOption::NO_WRITE, and dictionary::readEntry().

Referenced by fromFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

TypeName ( "fromFile" )

Runtime type information.


The documentation for this class was generated from the following files:
  • src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/controlPointsDefinition/fromFile/fromFile.H
  • src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/controlPointsDefinition/fromFile/fromFile.C