74 #ifndef codedPoints0MotionSolver_H 75 #define codedPoints0MotionSolver_H 88 class codedPoints0MotionSolver
135 =
"codedPoints0MotionSolverTemplate.C";
139 =
"codedPoints0MotionSolverTemplate.H";
169 virtual void solve();
autoPtr< motionSolver > redirectMotionSolverPtr_
Underlying motionSolver.
virtual const dictionary & codeDict() const
motionSolver & redirectMotionSolver() const
Dynamically compiled motionSolver.
virtual ~codedPoints0MotionSolver()=default
Destructor.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void clearRedirect() const
Clear redirected object(s)
virtual dlLibraryTable & libs() const
Mutable access to the loaded dynamic libraries.
Virtual base class for mesh motion solver.
virtual void movePoints(const pointField &fld)
Update local data for geometry changes.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
static constexpr const char *const codeTemplateH
Name of the H code template to be used.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
codedPoints0MotionSolver(const codedPoints0MotionSolver &)=delete
No copy construct.
A table of dynamically loaded libraries.
TypeName("coded")
Runtime type information.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Tools for handling dynamic code compilation.
Provides a general interface to enable dynamic code compilation of mesh motion solvers.
Encapsulation of dynamic code dictionaries.
virtual string description() const
Description (type + name) for the output.
word name_
Name of redirected motion solver.
virtual void solve()
Solve for motion.
void operator=(const codedPoints0MotionSolver &)=delete
No copy assignment.
Mesh consisting of general polyhedral cells.
const polyMesh & mesh() const
Return reference to mesh.
A class for managing temporary objects.
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const
Adapt the context for the current object.
static constexpr const char *const codeTemplateC
Name of the C code template to be used.
virtual void updateMesh(const mapPolyMesh &mpm)
Update local data for topology changes.