forked from sofa-framework/sofa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add_fixedarray_accessor
- Loading branch information
Showing
87 changed files
with
3,119 additions
and
1,165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "CI - Nix" | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
nix: | ||
runs-on: "${{ matrix.os }}-latest" | ||
if: ${{ github.repository_owner == 'sofa-framework' }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu, macos] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v27 | ||
# TODO: the "sofa" account on cachix does not exist yet | ||
#- uses: cachix/cachix-action@v15 | ||
#with: | ||
#name: sofa | ||
#authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
- run: nix build -L |
209 changes: 110 additions & 99 deletions
209
...an/Model/src/sofa/component/constraint/lagrangian/model/BilateralLagrangianConstraint.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,21 +19,21 @@ | |
* * | ||
* Contact information: [email protected] * | ||
******************************************************************************/ | ||
#define SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_SHEWCHUKPCGLINEARSOLVER_CPP | ||
#include <sofa/component/linearsolver/iterative/ShewchukPCGLinearSolver.inl> | ||
#define SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_PCGLINEARSOLVER_CPP | ||
#include <sofa/component/linearsolver/iterative/PCGLinearSolver.inl> | ||
#include <sofa/component/linearsolver/iterative/MatrixLinearSolver.inl> | ||
#include <sofa/core/ObjectFactory.h> | ||
#include <sofa/component/linearsystem/MatrixFreeSystem.h> | ||
|
||
namespace sofa::component::linearsolver::iterative | ||
{ | ||
|
||
void registerShewchukPCGLinearSolver(sofa::core::ObjectFactory* factory) | ||
void registerPCGLinearSolver(sofa::core::ObjectFactory* factory) | ||
{ | ||
factory->registerObjects(core::ObjectRegistrationData("Linear system solver using the Shewchuk conjugate gradient iterative algorithm.") | ||
.add< ShewchukPCGLinearSolver<GraphScatteredMatrix, GraphScatteredVector> >()); | ||
.add< PCGLinearSolver<GraphScatteredMatrix, GraphScatteredVector> >()); | ||
} | ||
|
||
template class SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API ShewchukPCGLinearSolver<GraphScatteredMatrix, GraphScatteredVector>; | ||
template class SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API PCGLinearSolver<GraphScatteredMatrix, GraphScatteredVector>; | ||
|
||
} // namespace sofa::component::linearsolver::iterative |
Oops, something went wrong.