diff --git a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherAdjointWaveEquationSEMKernel.hpp b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherAdjointWaveEquationSEMKernel.hpp index 5b254082603..88c7f4ef199 100644 --- a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherAdjointWaveEquationSEMKernel.hpp +++ b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherAdjointWaveEquationSEMKernel.hpp @@ -56,10 +56,10 @@ template< typename SUBREGION_TYPE, typename CONSTITUTIVE_TYPE, typename FE_TYPE > class ExplicitAcousticVTIFletcherAdjointSEM : public finiteElement::KernelBase< SUBREGION_TYPE, - CONSTITUTIVE_TYPE, - FE_TYPE, - 1, - 1 > + CONSTITUTIVE_TYPE, + FE_TYPE, + 1, + 1 > { public: @@ -94,13 +94,13 @@ class ExplicitAcousticVTIFletcherAdjointSEM : public finiteElement::KernelBase< * elements to be processed during this kernel launch. */ ExplicitAcousticVTIFletcherAdjointSEM( NodeManager & nodeManager, - EdgeManager const & edgeManager, - FaceManager const & faceManager, - localIndex const targetRegionIndex, - SUBREGION_TYPE const & elementSubRegion, - FE_TYPE const & finiteElementSpace, - CONSTITUTIVE_TYPE & inputConstitutiveType, - real64 const dt ): + EdgeManager const & edgeManager, + FaceManager const & faceManager, + localIndex const targetRegionIndex, + SUBREGION_TYPE const & elementSubRegion, + FE_TYPE const & finiteElementSpace, + CONSTITUTIVE_TYPE & inputConstitutiveType, + real64 const dt ): Base( elementSubRegion, finiteElementSpace, inputConstitutiveType ), @@ -271,7 +271,7 @@ class ExplicitAcousticVTIFletcherAdjointSEM : public finiteElement::KernelBase< /// The factory used to construct a ExplicitAcousticWaveEquation kernel. using ExplicitAcousticVTIFletcherAdjointSEMFactory = finiteElement::KernelFactory< ExplicitAcousticVTIFletcherAdjointSEM, - real64 >; + real64 >; } // namespace acousticVTIFletcherAdjointWaveEquationSEMKernels diff --git a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherWaveEquationSEM.cpp b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherWaveEquationSEM.cpp index deb236409e2..12c8ef54165 100644 --- a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherWaveEquationSEM.cpp +++ b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherWaveEquationSEM.cpp @@ -661,7 +661,7 @@ void AcousticVTIFletcherWaveEquationSEM::computeUnknowns( real64 const & GEOS_UN arrayView1d< real32 > const stiffnessVector_p = nodeManager.getField< acousticvtifields::StiffnessVector_p >(); arrayView1d< real32 > const stiffnessVector_q = nodeManager.getField< acousticvtifields::StiffnessVector_q >(); arrayView1d< real32 > const rhs = nodeManager.getField< acousticfields::ForcingRHS >(); - if(isForward) + if( isForward ) { auto kernelFactory = acousticVTIFletcherWaveEquationSEMKernels::ExplicitAcousticVTIFletcherSEMFactory( dt ); @@ -674,7 +674,8 @@ void AcousticVTIFletcherWaveEquationSEM::computeUnknowns( real64 const & GEOS_UN "", kernelFactory ); } - else{ + else + { auto kernelFactory = acousticVTIFletcherAdjointWaveEquationSEMKernels::ExplicitAcousticVTIFletcherAdjointSEMFactory( dt ); finiteElement:: @@ -769,7 +770,7 @@ real64 AcousticVTIFletcherWaveEquationSEM::explicitStepInternal( real64 const & MeshLevel & mesh, arrayView1d< string const > const & regionNames ) { - computeUnknowns( time_n, dt, cycleNumber, domain, mesh, regionNames, isForward); + computeUnknowns( time_n, dt, cycleNumber, domain, mesh, regionNames, isForward ); synchronizeUnknowns( time_n, dt, cycleNumber, domain, mesh, regionNames ); } ); diff --git a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherWaveEquationSEM.hpp b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherWaveEquationSEM.hpp index 3e875f7d052..0f6b71ad053 100644 --- a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherWaveEquationSEM.hpp +++ b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIFletcherWaveEquationSEM.hpp @@ -119,7 +119,7 @@ class AcousticVTIFletcherWaveEquationSEM : public WaveSolverBase real64 const & dt, integer const cycleNumber, DomainPartition & domain, - bool const isForward); + bool const isForward ); void computeUnknowns( real64 const & time_n, real64 const & dt, @@ -127,7 +127,7 @@ class AcousticVTIFletcherWaveEquationSEM : public WaveSolverBase DomainPartition & domain, MeshLevel & mesh, arrayView1d< string const > const & regionNames, - bool const isForward); + bool const isForward ); void synchronizeUnknowns( real64 const & time_n, real64 const & dt, diff --git a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangAdjointWaveEquationSEMKernel.hpp b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangAdjointWaveEquationSEMKernel.hpp index b5a6e857b02..8928ff49ca4 100644 --- a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangAdjointWaveEquationSEMKernel.hpp +++ b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangAdjointWaveEquationSEMKernel.hpp @@ -56,10 +56,10 @@ template< typename SUBREGION_TYPE, typename CONSTITUTIVE_TYPE, typename FE_TYPE > class ExplicitAcousticVTIZhangAdjointSEM : public finiteElement::KernelBase< SUBREGION_TYPE, - CONSTITUTIVE_TYPE, - FE_TYPE, - 1, - 1 > + CONSTITUTIVE_TYPE, + FE_TYPE, + 1, + 1 > { public: @@ -262,7 +262,7 @@ class ExplicitAcousticVTIZhangAdjointSEM : public finiteElement::KernelBase< SUB /// The factory used to construct a ExplicitAcousticWaveEquation kernel. using ExplicitAcousticVTIZhangAdjointSEMFactory = finiteElement::KernelFactory< ExplicitAcousticVTIZhangAdjointSEM, - real64 >; + real64 >; } // namespace acousticVTIZhangAdjointWaveEquationSEMKernels diff --git a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangWaveEquationSEM.cpp b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangWaveEquationSEM.cpp index ab0232afd63..f59b76d6162 100644 --- a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangWaveEquationSEM.cpp +++ b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangWaveEquationSEM.cpp @@ -660,7 +660,7 @@ void AcousticVTIZhangWaveEquationSEM::computeUnknowns( real64 const & GEOS_UNUSE arrayView1d< real32 > const stiffnessVector_q = nodeManager.getField< acousticvtifields::StiffnessVector_q >(); arrayView1d< real32 > const rhs = nodeManager.getField< acousticfields::ForcingRHS >(); - if(isForward) + if( isForward ) { auto kernelFactory = acousticVTIZhangWaveEquationSEMKernels::ExplicitAcousticVTIZhangSEMFactory( dt ); @@ -673,7 +673,8 @@ void AcousticVTIZhangWaveEquationSEM::computeUnknowns( real64 const & GEOS_UNUSE "", kernelFactory ); } - else{ + else + { auto kernelFactory = acousticVTIZhangAdjointWaveEquationSEMKernels::ExplicitAcousticVTIZhangAdjointSEMFactory( dt ); finiteElement:: diff --git a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangWaveEquationSEM.hpp b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangWaveEquationSEM.hpp index 9dcb6ffef70..06b5d582a4a 100644 --- a/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangWaveEquationSEM.hpp +++ b/src/coreComponents/physicsSolvers/wavePropagation/sem/acoustic/secondOrderEqn/anisotropic/AcousticVTIZhangWaveEquationSEM.hpp @@ -119,7 +119,7 @@ class AcousticVTIZhangWaveEquationSEM : public WaveSolverBase real64 const & dt, integer const cycleNumber, DomainPartition & domain, - bool const isForward); + bool const isForward ); void computeUnknowns( real64 const & time_n, real64 const & dt, @@ -127,7 +127,7 @@ class AcousticVTIZhangWaveEquationSEM : public WaveSolverBase DomainPartition & domain, MeshLevel & mesh, arrayView1d< string const > const & regionNames, - bool const isForward); + bool const isForward ); void synchronizeUnknowns( real64 const & time_n, real64 const & dt,