From b1c5d35bc31e28c085caad78b830d361f60a8762 Mon Sep 17 00:00:00 2001 From: Eduardo Firvida Date: Sun, 31 Dec 2023 18:32:45 -0500 Subject: [PATCH] Use Foam namespace --- Adapter.H | 28 ++++++++++++++-------------- CHT/CHT.H | 4 ++-- FF/FF.H | 4 ++-- FSI/FSI.H | 4 ++-- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Adapter.H b/Adapter.H index a435b2a5..36d6c560 100644 --- a/Adapter.H +++ b/Adapter.H @@ -316,53 +316,53 @@ private: // Add mesh checkpoint fields, depending on the type //- Add a surfaceScalarField mesh field - void addMeshCheckpointField(surfaceScalarField& field); + void addMeshCheckpointField(Foam::surfaceScalarField& field); //- Add a surfaceVectorField mesh field - void addMeshCheckpointField(surfaceVectorField& field); + void addMeshCheckpointField(Foam::surfaceVectorField& field); //- Add a volVectorField mesh field - void addMeshCheckpointField(volVectorField& field); + void addMeshCheckpointField(Foam::volVectorField& field); // TODO V0 and V00 checkpointed field. //- Add the V0 and V00 checkpoint fields - void addVolCheckpointField(volScalarField::Internal& field); + void addVolCheckpointField(Foam::volScalarField::Internal& field); // void addVolCheckpointFieldBuffer(volScalarField::Internal & field); // Add checkpoint fields, depending on the type //- Add a volScalarField to checkpoint - void addCheckpointField(volScalarField* field); + void addCheckpointField(Foam::volScalarField* field); //- Add a volVectorField to checkpoint - void addCheckpointField(volVectorField* field); + void addCheckpointField(Foam::volVectorField* field); //- Add a surfaceScalarField to checkpoint - void addCheckpointField(surfaceScalarField* field); + void addCheckpointField(Foam::surfaceScalarField* field); //- Add a surfaceVectorField to checkpoint - void addCheckpointField(surfaceVectorField* field); + void addCheckpointField(Foam::surfaceVectorField* field); //- Add a pointScalarField to checkpoint - void addCheckpointField(pointScalarField* field); + void addCheckpointField(Foam::pointScalarField* field); //- Add a pointVectorField to checkpoint - void addCheckpointField(pointVectorField* field); + void addCheckpointField(Foam::pointVectorField* field); // NOTE: Add here methods to add other object types to checkpoint, // if needed. //- Add a volTensorField to checkpoint - void addCheckpointField(volTensorField* field); + void addCheckpointField(Foam::volTensorField* field); //- Add a surfaceTensorField to checkpoint - void addCheckpointField(surfaceTensorField* field); + void addCheckpointField(Foam::surfaceTensorField* field); //- Add a pointTensorField to checkpoint - void addCheckpointField(pointTensorField* field); + void addCheckpointField(Foam::pointTensorField* field); //- Add a volSymmTensorField to checkpoint - void addCheckpointField(volSymmTensorField* field); + void addCheckpointField(Foam::volSymmTensorField* field); //- Read the checkpoint - restore the mesh fields and time void readMeshCheckpoint(); diff --git a/CHT/CHT.H b/CHT/CHT.H index 19616e43..77916c2a 100644 --- a/CHT/CHT.H +++ b/CHT/CHT.H @@ -48,14 +48,14 @@ protected: std::string determineSolverType(); //- Read the CHT-related options from the adapter's configuration file - bool readConfig(const IOdictionary& adapterConfig); + bool readConfig(const Foam::IOdictionary& adapterConfig); public: //- Constructor ConjugateHeatTransfer(const Foam::fvMesh& mesh); //- Configure - bool configure(const IOdictionary& adapterConfig); + bool configure(const Foam::IOdictionary& adapterConfig); //- Add coupling data writers bool addWriters(std::string dataName, Interface* interface); diff --git a/FF/FF.H b/FF/FF.H index f2f35f7d..61e42bcc 100644 --- a/FF/FF.H +++ b/FF/FF.H @@ -35,14 +35,14 @@ protected: std::string determineSolverType(); //- Read the FF-related options from the adapter's configuration file - bool readConfig(const IOdictionary& adapterConfig); + bool readConfig(const Foam::IOdictionary& adapterConfig); public: //- Constructor FluidFluid(const Foam::fvMesh& mesh); //- Configure - bool configure(const IOdictionary& adapterConfig); + bool configure(const Foam::IOdictionary& adapterConfig); //- Add coupling data writers bool addWriters(std::string dataName, Interface* interface); diff --git a/FSI/FSI.H b/FSI/FSI.H index 81e9fcad..fd2df0cf 100644 --- a/FSI/FSI.H +++ b/FSI/FSI.H @@ -49,7 +49,7 @@ protected: std::string determineSolverType(); //- Read the FSI-related options from the adapter's configuration file - bool readConfig(const IOdictionary& adapterConfig); + bool readConfig(const Foam::IOdictionary& adapterConfig); public: //- Constructor @@ -57,7 +57,7 @@ public: FluidStructureInteraction(const Foam::fvMesh& mesh, const Foam::Time& runTime); //- Configure - bool configure(const IOdictionary& adapterConfig); + bool configure(const Foam::IOdictionary& adapterConfig); //- Add coupling data writers bool addWriters(std::string dataName, Interface* interface);