Skip to content

Commit cc7d196

Browse files
Update license (SimVascular#178)
1 parent 5395527 commit cc7d196

File tree

80 files changed

+171
-2182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+171
-2182
lines changed

CMakeLists.txt

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,5 @@
1-
# Copyright (c) Stanford University, The Regents of the University of
2-
# California, and others.
3-
#
4-
# All Rights Reserved.
5-
#
6-
# See Copyright-SimVascular.txt for additional details.
7-
#
8-
# Permission is hereby granted, free of charge, to any person obtaining
9-
# a copy of this software and associated documentation files (the
10-
# "Software"), to deal in the Software without restriction, including
11-
# without limitation the rights to use, copy, modify, merge, publish,
12-
# distribute, sublicense, and/or sell copies of the Software, and to
13-
# permit persons to whom the Software is furnished to do so, subject
14-
# to the following conditions:
15-
#
16-
# The above copyright notice and this permission notice shall be included
17-
# in all copies or substantial portions of the Software.
18-
#
19-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
20-
# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21-
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22-
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
23-
# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25-
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
26-
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
27-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
28-
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
29-
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1+
# SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
2+
# SPDX-License-Identifier: BSD-3-Clause
303

314
set(CMAKE_POLICY_VERSION_MINIMUM 3.5)
325
cmake_minimum_required(VERSION 3.5)
@@ -297,4 +270,4 @@ if (WIN32)
297270
PREFIX ""
298271
SUFFIX ".pyd"
299272
)
300-
endif()
273+
endif()

LICENSE.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
Copyright (c) Stanford University, The Regents of the University of California, and others.
1+
Copyright 2016-2025 Stanford University, The Regents of the University of California, and others.
22

3-
All Rights Reserved.
3+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
44

5-
See Copyright-SimVascular.txt for additional details.
5+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
66

7-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
88

9-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
1010

11-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

applications/pysvzerod.cpp

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,5 @@
1-
// Copyright (c) Stanford University, The Regents of the University of
2-
// California, and others.
3-
//
4-
// All Rights Reserved.
5-
//
6-
// See Copyright-SimVascular.txt for additional details.
7-
//
8-
// Permission is hereby granted, free of charge, to any person obtaining
9-
// a copy of this software and associated documentation files (the
10-
// "Software"), to deal in the Software without restriction, including
11-
// without limitation the rights to use, copy, modify, merge, publish,
12-
// distribute, sublicense, and/or sell copies of the Software, and to
13-
// permit persons to whom the Software is furnished to do so, subject
14-
// to the following conditions:
15-
//
16-
// The above copyright notice and this permission notice shall be included
17-
// in all copies or substantial portions of the Software.
18-
//
19-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
20-
// IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21-
// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22-
// PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
23-
// OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24-
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25-
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
26-
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
27-
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
28-
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
29-
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1+
// SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
2+
// SPDX-License-Identifier: BSD-3-Clause
303
/**
314
* @file pysvzerod.cpp
325
* @brief Python interface for svZeroDSolver

applications/svZeroDGUI/static/js/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
2+
// SPDX-License-Identifier: BSD-3-Clause
13
/**
24
* app.js
35
*

applications/svZeroDGUI/static/js/cytoscape-edgehandles.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
2+
// SPDX-License-Identifier: BSD-3-Clause
13
/**
24
* cytoscape-edgehandles.js
35
*
@@ -1168,4 +1170,4 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_14__;
11681170

11691171
/***/ })
11701172
/******/ ]);
1171-
});
1173+
});

applications/svZeroDVisualization/dirgraph_connections.py

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,7 @@
11
# coding=utf-8
22

3-
# Copyright (c) Stanford University, The Regents of the University of
4-
# California, and others.
5-
#
6-
# All Rights Reserved.
7-
#
8-
# See Copyright-SimVascular.txt for additional details.
9-
#
10-
# Permission is hereby granted, free of charge, to any person obtaining
11-
# a copy of this software and associated documentation files (the
12-
# "Software"), to deal in the Software without restriction, including
13-
# without limitation the rights to use, copy, modify, merge, publish,
14-
# distribute, sublicense, and/or sell copies of the Software, and to
15-
# permit persons to whom the Software is furnished to do so, subject
16-
# to the following conditions:
17-
#
18-
# The above copyright notice and this permission notice shall be included
19-
# in all copies or substantial portions of the Software.
20-
#
21-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
22-
# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
23-
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
24-
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
25-
# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
26-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27-
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28-
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30-
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31-
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3+
# SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
4+
# SPDX-License-Identifier: BSD-3-Clause
325

336
import numpy as np
347
from dirgraph_wire import wire

applications/svZeroDVisualization/dirgraph_steady_bc.py

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
1-
# Copyright (c) Stanford University, The Regents of the University of
2-
# California, and others.
3-
#
4-
# All Rights Reserved.
5-
#
6-
# See Copyright-SimVascular.txt for additional details.
7-
#
8-
# Permission is hereby granted, free of charge, to any person obtaining
9-
# a copy of this software and associated documentation files (the
10-
# "Software"), to deal in the Software without restriction, including
11-
# without limitation the rights to use, copy, modify, merge, publish,
12-
# distribute, sublicense, and/or sell copies of the Software, and to
13-
# permit persons to whom the Software is furnished to do so, subject
14-
# to the following conditions:
15-
#
16-
# The above copyright notice and this permission notice shall be included
17-
# in all copies or substantial portions of the Software.
18-
#
19-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
20-
# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21-
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22-
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
23-
# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25-
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
26-
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
27-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
28-
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
29-
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30-
1+
# SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
2+
# SPDX-License-Identifier: BSD-3-Clause
313
import copy
324
import numpy as np
335

applications/svZeroDVisualization/dirgraph_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
3+
# SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
4+
# SPDX-License-Identifier: BSD-3-Clause
35
"""
46
This code will create a directed graph by reading a .json file.
57
"""
@@ -710,4 +712,4 @@ def set_up_0d_network(zero_d_solver_input_file_path: object, output_dir, name_ty
710712
zero_d_solver_input_file_path,
711713
d,
712714
draw_directed_graph=draw_directed_graph, output_dir=output_dir
713-
)
715+
)

applications/svZeroDVisualization/dirgraph_wire.py

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,7 @@
11
# coding=utf-8
22

3-
# Copyright (c) Stanford University, The Regents of the University of
4-
# California, and others.
5-
#
6-
# All Rights Reserved.
7-
#
8-
# See Copyright-SimVascular.txt for additional details.
9-
#
10-
# Permission is hereby granted, free of charge, to any person obtaining
11-
# a copy of this software and associated documentation files (the
12-
# "Software"), to deal in the Software without restriction, including
13-
# without limitation the rights to use, copy, modify, merge, publish,
14-
# distribute, sublicense, and/or sell copies of the Software, and to
15-
# permit persons to whom the Software is furnished to do so, subject
16-
# to the following conditions:
17-
#
18-
# The above copyright notice and this permission notice shall be included
19-
# in all copies or substantial portions of the Software.
20-
#
21-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
22-
# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
23-
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
24-
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
25-
# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
26-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27-
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28-
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30-
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31-
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3+
# SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
4+
# SPDX-License-Identifier: BSD-3-Clause
325

336
import numpy as np
347

applications/svZeroDVisualization/visualize_simulation.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
14
import sys
25
import argparse
36
import pysvzerod
@@ -648,4 +651,4 @@ def update_graphs(clickData):
648651

649652

650653
if __name__ == '__main__':
651-
app.run_server(debug=True)
654+
app.run_server(debug=True)

0 commit comments

Comments
 (0)