| ceed-basis.c (15ad391736ade9c8ee9580dd2a112afd9b87264b) | ceed-basis.c (352a5e7c6e34c9e76db819ca9ad02de7b3bbdbc2) |
|---|---|
| 1// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors. 2// All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 3// 4// SPDX-License-Identifier: BSD-2-Clause 5// 6// This file is part of CEED: http://github.com/ceed 7 8#include <ceed-impl.h> --- 389 unchanged lines hidden (view full) --- 398 case CEED_EVAL_DIV: 399 *q_comp = 1; 400 break; 401 case CEED_EVAL_CURL: 402 *q_comp = (basis->dim < 3) ? 1 : basis->dim; 403 break; 404 case CEED_EVAL_NONE: 405 case CEED_EVAL_WEIGHT: | 1// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors. 2// All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 3// 4// SPDX-License-Identifier: BSD-2-Clause 5// 6// This file is part of CEED: http://github.com/ceed 7 8#include <ceed-impl.h> --- 389 unchanged lines hidden (view full) --- 398 case CEED_EVAL_DIV: 399 *q_comp = 1; 400 break; 401 case CEED_EVAL_CURL: 402 *q_comp = (basis->dim < 3) ? 1 : basis->dim; 403 break; 404 case CEED_EVAL_NONE: 405 case CEED_EVAL_WEIGHT: |
| 406 *q_comp = 0; | 406 *q_comp = 1; |
| 407 break; 408 } 409 return CEED_ERROR_SUCCESS; 410} 411 412/** 413 @brief Estimate number of FLOPs required to apply CeedBasis in t_mode and eval_mode 414 --- 1602 unchanged lines hidden --- | 407 break; 408 } 409 return CEED_ERROR_SUCCESS; 410} 411 412/** 413 @brief Estimate number of FLOPs required to apply CeedBasis in t_mode and eval_mode 414 --- 1602 unchanged lines hidden --- |