Home
last modified time | relevance | path

Searched +full:- +full:j2 (Results 1 – 12 of 12) sorted by relevance

/libCEED/examples/fluids/qfunctions/
H A Dsetupgeo_helpers.h1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
9 /// Geometric factors (3D) for Navier-Stokes example using PETSc
25 * Inverse of change of coordinate matrix: dXdx_{i,j} = (detJ^-1) * X_{i,j}
52 const CeedScalar A11 = dxdX_22 * dxdX_33 - dxdX_23 * dxdX_32; in InvertMappingJacobian_3D()
53 const CeedScalar A12 = dxdX_13 * dxdX_32 - dxdX_12 * dxdX_33; in InvertMappingJacobian_3D()
54 const CeedScalar A13 = dxdX_12 * dxdX_23 - dxdX_13 * dxdX_22; in InvertMappingJacobian_3D()
55 const CeedScalar A21 = dxdX_23 * dxdX_31 - dxdX_21 * dxdX_33; in InvertMappingJacobian_3D()
56 const CeedScalar A22 = dxdX_11 * dxdX_33 - dxdX_13 * dxdX_31; in InvertMappingJacobian_3D()
[all …]
H A Dsetupgeo2d.h1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
9 /// Geometric factors (2D) for Navier-Stokes example using PETSc
21 // Inverse of change of coordinate matrix: dXdx_{i,j} = (detJ^-1) * X_{i,j}
28 // detJ = J11*J22 - J21*J12
42 // (detJ^-1) * [A11 A12]
68 // J2 = dx_2/dX
70 // detJb is the magnitude of (J1,J2)
79 // Normal vector is given by the cross product of (J1,J2)/detJ and ẑ
[all …]
H A Dsetupgeo.h1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
9 /// Geometric factors (3D) for Navier-Stokes example using PETSc
24 // Inverse of change of coordinate matrix: dXdx_{i,j} = (detJ^-1) * X_{i,j}
45 // (detJ^-1) * [A11 A12 A13]
75 // (J1,J2,J3) is given by the cross product of the columns of dxdX_{i,j}
77 // detJb is the magnitude of (J1,J2,J3)
81 // dX_i/dx_j = (dxdX^T dxdX)^(-1) dxdX
82 // = (dx_l/dX_i * dx_l/dX_k)^(-1) dx_j/dX_k
[all …]
/libCEED/examples/solids/qfunctions/
H A Dtraction-boundary.h1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
13 // -----------------------------------------------------------------------------
21 // (J1,J2,J3) is given by the cross product of the columns of dxdX_{i,j}
23 // detJb is the magnitude of (J1,J2,J3)
27 // -----------------------------------------------------------------------------
46 // J1, J2, and J3 are given by the cross product of the columns of dxdX in SetupTractionBCs()
47 const CeedScalar J1 = dxdX[1][0] * dxdX[2][1] - dxdX[2][0] * dxdX[1][1]; in SetupTractionBCs()
48 const CeedScalar J2 = dxdX[2][0] * dxdX[0][1] - dxdX[0][0] * dxdX[2][1]; in SetupTractionBCs() local
[all …]
/libCEED/.github/workflows/
H A Dc-fortran-test-linux-osx.yml6 - main
13 os: [ubuntu-24.04, macos-15]
16 - os: macos-15
17 compiler: apple-clang
19 runs-on: ${{ matrix.os }}
22 - name: Environment setup
24 - name: Set compiler
28 if [[ "${{ matrix.os }}" == macos-* ]]; then
29 echo "CC=gcc-15" >> $GITHUB_ENV
35 if [[ "${{ matrix.os }}" == macos-* ]]; then
[all …]
H A Dpython-test-with-style.yml6 - main
13 os: [ubuntu-24.04]
15 python-version: ['3.x']
17 runs-on: ${{ matrix.os }}
20 - name: Environment setup
22 - name: Python setup
23 uses: actions/setup-python@v5
25 python-version: ${{ matrix.python-version }}
26 - name: Python dependencies
28 pip install -r requirements.txt
[all …]
H A Djulia-test-with-style.yml6 - main
13 os: [ubuntu-24.04]
14 julia-version: ['1']
16 runs-on: ${{ matrix.os }}
24 - name: Environment setup
26 - name: Julia setup
27 uses: julia-actions/setup-julia@latest
29 version: ${{ matrix.julia-version }}
30 - name: Julia test and style
33 make -j2
[all …]
/libCEED/examples/
H A DMakefile2 # the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
6 # libraries and APIs for efficient high-order finite element and spectral
10 # The CEED research is supported by the Exascale Computing Project (17-SC-20-SC)
18 CEED_FLAGS ?= -I$(CEED_DIR)/include
19 CEED_LIBS ?= -Wl,-rpath,$(CEED_DIR)/lib -L$(CEED_DIR)/lib -lceed
37 make CEED_DIR=$(CEED_DIR) -C ceed all
40 make CEED_DIR=$(CEED_DIR) MFEM_DIR=$(MFEM_DIR) -C mfem all
44 # such as when calling `make prove-all -j2` for the top level Makefile.
46 +make CEED_DIR=$(CEED_DIR) NEK5K_DIR=$(NEK5K_DIR) MPI=$(MPI) -C nek bps
49 make CEED_DIR=$(CEED_DIR) PETSC_DIR=$(PETSC_DIR) PETSC_ARCH=$(PETSC_ARCH) -C petsc all
[all …]
/libCEED/julia/LibCEED.jl/test/
H A Druntests.jl23 const run_dev_tests = !isrelease() || ("--run-dev-tests" in ARGS)
89 witharray(x -> x .= 1.0, v)
92 @test summarystr(v) == "$n-element CeedVector"
154 @test q1d ≈ CeedScalar[-1.0, 0.0, 1.0]
158 @test q1d ≈ CeedScalar[-sqrt(3/5), 0.0, sqrt(3/5)]
162 d1d = CeedScalar[-0.5 0.5; -0.5 0.5; -0.5 0.5]
163 q1d = CeedScalar[-1.0, 0.0, 1.0]
214 J2 = zeros(CeedScalar, dim, dim)
215 getvoigt!(J2, V, D)
216 @test J2 == J
[all …]
/libCEED/
H A DMakefile1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 # SPDX-License-Identifier: BSD-2-Clause
8 # ------------------------------------------------------------
10 # ------------------------------------------------------------
14 -include $(CONFIG)
18 -include $(COMMON)
23 # Cancel built-in and old-fashioned implicit rules which we don't use
29 @mkdir -p $(@D)
35 DARWIN := $(filter Darwin,$(shell uname -s))
[all …]
/libCEED/rust/libceed-sys/c-src/
H A DMakefile1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 # SPDX-License-Identifier: BSD-2-Clause
8 # ------------------------------------------------------------
10 # ------------------------------------------------------------
14 -include $(CONFIG)
18 -include $(COMMON)
23 # Cancel built-in and old-fashioned implicit rules which we don't use
29 @mkdir -p $(@D)
35 DARWIN := $(filter Darwin,$(shell uname -s))
[all …]
/libCEED/doc/img/
H A DlibCEED-decomposition.svg1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
5 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
17 sodipodi:docname="libCEED-2-trim.svg"
18 inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"><sodipodi:namedview
27 inkscape:window-width="1916"
28 inkscape:window-height="1076"
34 inkscape:window-x="0"
35 inkscape:window-y="0"
36 inkscape:window-maximized="1"
[all …]