Skip to content

Commit

Permalink
Indentation with clang-format 11
Browse files Browse the repository at this point in the history
  • Loading branch information
davidscn committed Sep 13, 2023
1 parent 7f316de commit a48b7aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions FSI/ForceBase.H
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public:
const std::string solverType);

std::size_t writeToBuffer(double* buffer,
Foam::volVectorField& forceField,
const unsigned int dim) const;
Foam::volVectorField& forceField,
const unsigned int dim) const;

void readFromBuffer(double* buffer) const;

Expand Down
2 changes: 1 addition & 1 deletion FSI/Stress.C
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ preciceAdapter::FSI::Stress::Stress(

std::size_t preciceAdapter::FSI::Stress::write(double* buffer, bool meshConnectivity, const unsigned int dim)
{
return this->writeToBuffer(buffer, *Stress_, dim);
return this->writeToBuffer(buffer, *Stress_, dim);
}

void preciceAdapter::FSI::Stress::read(double* buffer, const unsigned int dim)
Expand Down
2 changes: 1 addition & 1 deletion Interface.C
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ void preciceAdapter::Interface::readCouplingData(double relativeReadTime)

// Make preCICE read vector or scalar data
// and fill the adapter's buffer
std::size_t nReadData = vertexIDs_.size() * precice_.getDataDimensions(meshName_,couplingDataReader->dataName());
std::size_t nReadData = vertexIDs_.size() * precice_.getDataDimensions(meshName_, couplingDataReader->dataName());
// We could add a sanity check here
// nReadData == vertexIDs_.size() * (1 + (dim_ - 1) * static_cast<int>(couplingDataReader->hasVectorData()));

Expand Down

0 comments on commit a48b7aa

Please sign in to comment.