| ceed-qfunction.c (77ad9f2917358ad654845919921e911aaeeffe6e) | ceed-qfunction.c (c8d5b03c9ec2ffdc76dadb64cac1e0b264762010) |
|---|---|
| 1// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at 2// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights 3// reserved. See files LICENSE and NOTICE for details. 4// 5// This file is part of CEED, a collection of benchmarks, miniapps, software 6// libraries and APIs for efficient high-order finite element and spectral 7// element discretizations for exascale applications. For more information and 8// source code availability see http://github.com/ceed. --- 425 unchanged lines hidden (view full) --- 434 @brief Create a CeedQFunction for evaluating interior (volumetric) terms. 435 436 @param ceed A Ceed object where the CeedQFunction will be created 437 @param vlength Vector length. Caller must ensure that number of quadrature 438 points is a multiple of vlength. 439 @param f Function pointer to evaluate action at quadrature points. 440 See \ref CeedQFunctionUser. 441 @param source Absolute path to source of QFunction, | 1// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at 2// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights 3// reserved. See files LICENSE and NOTICE for details. 4// 5// This file is part of CEED, a collection of benchmarks, miniapps, software 6// libraries and APIs for efficient high-order finite element and spectral 7// element discretizations for exascale applications. For more information and 8// source code availability see http://github.com/ceed. --- 425 unchanged lines hidden (view full) --- 434 @brief Create a CeedQFunction for evaluating interior (volumetric) terms. 435 436 @param ceed A Ceed object where the CeedQFunction will be created 437 @param vlength Vector length. Caller must ensure that number of quadrature 438 points is a multiple of vlength. 439 @param f Function pointer to evaluate action at quadrature points. 440 See \ref CeedQFunctionUser. 441 @param source Absolute path to source of QFunction, |
| 442 "\abs_path\file.h:function_name" | 442 "\abs_path\file.h:function_name". 443 For support across all backends, this source must only 444 contain constructs supported by C99, C++11, and CUDA. |
| 443 @param[out] qf Address of the variable where the newly created 444 CeedQFunction will be stored 445 446 @return An error code: 0 - success, otherwise - failure 447 448 See \ref CeedQFunctionUser for details on the call-back function @a f's 449 arguments. 450 --- 305 unchanged lines hidden --- | 445 @param[out] qf Address of the variable where the newly created 446 CeedQFunction will be stored 447 448 @return An error code: 0 - success, otherwise - failure 449 450 See \ref CeedQFunctionUser for details on the call-back function @a f's 451 arguments. 452 --- 305 unchanged lines hidden --- |