Skip to content

Commit

Permalink
Use Foam namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
efirvida committed Jan 1, 2024
1 parent d5d2a51 commit b1c5d35
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
28 changes: 14 additions & 14 deletions Adapter.H
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions CHT/CHT.H
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions FF/FF.H
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions FSI/FSI.H
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ 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
// We need also the runTime to access the timeName and the deltaT
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);
Expand Down

0 comments on commit b1c5d35

Please sign in to comment.