Skip to content

Commit

Permalink
copyright correction
Browse files Browse the repository at this point in the history
  • Loading branch information
mohd-afeef-badri committed Jul 4, 2024
1 parent f0fe267 commit 2a6f96e
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 53 deletions.
72 changes: 36 additions & 36 deletions femutils/CooFormatMatrix.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* CsrFormatMatrix.cc (C) 2022-2023 */
/* CsrFormatMatrix.cc (C) 2022-2024 */
/* */
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
Expand Down Expand Up @@ -58,11 +58,11 @@ class CooFormat : TraceAccessor
}

/**
* @brief
*
* @param row
* @param column
* @param value
* @brief
*
* @param row
* @param column
* @param value
*/
void matrixAddValue(DoFLocalId row, DoFLocalId column, Real value)
{
Expand All @@ -77,8 +77,8 @@ class CooFormat : TraceAccessor

/**
* @brief Translate to Arcane linear system
*
* @param linear_system
*
* @param linear_system
*/
void translateToLinearSystem(DoFLinearSystem& linear_system)
{
Expand All @@ -88,10 +88,10 @@ class CooFormat : TraceAccessor
}

/**
* @brief function to print the current content of the csr matrix
*
* @param fileName
* @param nonzero if set to true, print only the non zero values
* @brief function to print the current content of the csr matrix
*
* @param fileName
* @param nonzero if set to true, print only the non zero values
*/
void
printMatrix(std::string fileName, bool nonzero)
Expand Down Expand Up @@ -160,9 +160,9 @@ class CooFormat : TraceAccessor
/**
* @brief binSearchRow is a binary search through the row to get the
* leftmost corresponding index.
*
* @param row
* @return Int32
*
* @param row
* @return Int32
*/
Int32 binSearchRow(Int32 row)
{
Expand All @@ -189,10 +189,10 @@ class CooFormat : TraceAccessor
/**
* @brief indexValue is a Binsearch through the row and then the column
* to get the index of the corresponding value.
*
* @param row
* @param column
* @return Int32
*
* @param row
* @param column
* @return Int32
*/
Int32 indexValue(Int32 row, Int32 column)
{
Expand Down Expand Up @@ -223,11 +223,11 @@ class CooFormat : TraceAccessor
}

/**
* @brief Quicksort algorithm for the CSR Matrix
*
* @brief Quicksort algorithm for the CSR Matrix
*
* @param is_row
* @param start
* @param end
* @param start
* @param end
*/
void
sortMatrix(bool is_row, Int32 start, Int32 end)
Expand All @@ -244,12 +244,12 @@ class CooFormat : TraceAccessor
}

/**
* @brief Partition helper for the quickSort
*
* @param is_row
* @param start
* @param end
* @return Int32
* @brief Partition helper for the quickSort
*
* @param is_row
* @param start
* @param end
* @return Int32
*/
Int32 partition(bool is_row, Int32 start, Int32 end)
{
Expand All @@ -275,11 +275,11 @@ class CooFormat : TraceAccessor
}

/**
* @brief Swap helper for the quickSort
*
* @param is_row
* @param i
* @param j
* @brief Swap helper for the quickSort
*
* @param is_row
* @param i
* @param j
*/
void swap(bool is_row, Int32 i, Int32 j)
{
Expand All @@ -296,4 +296,4 @@ class CooFormat : TraceAccessor
m_matrix_value(j) = tmp_val;
}
};
} // namespace Arcane::FemUtils
} // namespace Arcane::FemUtils
4 changes: 2 additions & 2 deletions femutils/FemUtils.cc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* FemUtils.cc (C) 2022-2023 */
/* FemUtils.cc (C) 2022-2024 */
/* */
/* Utilitary classes for FEM. */
/*---------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion femutils/HypreDoFLinearSystem.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions femutils/IDoFLinearSystemFactory.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* IDoFLinearSystemFactory.h (C) 2022-2023 */
/* IDoFLinearSystemFactory.h (C) 2022-2024 */
/* */
/* Interface to a factory to build a linear system implementation. */
/*---------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion poisson/BlCsrBiliAssembly.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* BlcsrBiliAssembly.hxx (C) 2022-2023 */
/* BlcsrBiliAssembly.hxx (C) 2022-2024 */
/* */
/* Methods of the bilinear assembly phase using the csr data structure */
/* which avoid to add in the global matrix by iterating through the node. */
Expand Down
6 changes: 3 additions & 3 deletions poisson/CooBiliAssembly.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* CooBiliAssembly.hxx (C) 2022-2023 */
/* CooBiliAssembly.hxx (C) 2022-2024 */
/* */
/* Methods of the bilinear assembly phase using the coo data structure */
/*---------------------------------------------------------------------------*/
Expand All @@ -16,8 +16,8 @@
/**
* @brief Initialization of the coo matrix. It only works for p=1 since there is
* one node per Edge.
*
*
*
*
*/
void FemModule::
_buildMatrix()
Expand Down
6 changes: 3 additions & 3 deletions poisson/CooSortBiliAssembly.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* CooSortBiliAssembly.hxx (C) 2022-2023 */
/* CooSortBiliAssembly.hxx (C) 2022-2024 */
/* */
/* Methods of the bilinear assembly phase using the coo data structure */
/* followed by a sort */
Expand All @@ -17,8 +17,8 @@
/**
* @brief Initialization of the coo matrix. It only works for p=1 since there is
* one node per Edge.
*
*
*
*
*/
void FemModule::
_buildMatrixSort()
Expand Down
6 changes: 3 additions & 3 deletions poisson/CusparseBiliAssembly.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* CsrGpuiBiliAssembly.hxx (C) 2022-2023 */
/* CsrGpuiBiliAssembly.hxx (C) 2022-2024 */
/* */
/* Methods of the bilinear assembly phase using Cusparse library */
/* which build the global matrix by merging local ones */
Expand Down Expand Up @@ -235,8 +235,8 @@ _computeCusparseElementMatrix(cusparseCsr& result, cusparseCsr& global, Cell cel
/**
* @brief Assemble Bilinear TRIA3 with cusparse help. It only works for p=1 since there is
* one node per Edge.
*
*
*
*
*/
void FemModule::
_assembleCusparseBilinearOperatorTRIA3()
Expand Down
2 changes: 1 addition & 1 deletion poisson/LegacyBiliAssembly.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* LegacyBiliAssembly.hxx (C) 2022-2023 */
/* LegacyBiliAssembly.hxx (C) 2022-2024 */
/* */
/* Methods of the bilinear assembly phase using the legacy data structure */
/*---------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion poisson/NodeWiseCsrBiliAssembly.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0
//-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* BlcsrBiliAssembly.hxx (C) 2022-2023 */
/* BlcsrBiliAssembly.hxx (C) 2022-2024 */
/* */
/* Methods of the bilinear assembly phase using the csr data structure */
/* which avoid to add in the global matrix by iterating through the node. */
Expand Down

0 comments on commit 2a6f96e

Please sign in to comment.