ceed-operator.c (a49029fe2b683c1941ca0e371db6091ee3c727b1) ceed-operator.c (979e564e8d444b7d9c22148107323e4e570b83c8)
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/ceed.h>

--- 639 unchanged lines hidden (view full) ---

648 @brief Provide a field to a CeedOperator for use by its CeedQFunction
649
650 This function is used to specify both active and passive fields to a
651 CeedOperator. For passive fields, a vector @arg v must be provided. Passive
652 fields can inputs or outputs (updated in-place when operator is applied).
653
654 Active fields must be specified using this function, but their data (in a
655 CeedVector) is passed in CeedOperatorApply(). There can be at most one active
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/ceed.h>

--- 639 unchanged lines hidden (view full) ---

648 @brief Provide a field to a CeedOperator for use by its CeedQFunction
649
650 This function is used to specify both active and passive fields to a
651 CeedOperator. For passive fields, a vector @arg v must be provided. Passive
652 fields can inputs or outputs (updated in-place when operator is applied).
653
654 Active fields must be specified using this function, but their data (in a
655 CeedVector) is passed in CeedOperatorApply(). There can be at most one active
656 input and at most one active output.
656 input CeedVector and at most one active output CeedVector passed to
657 CeedOperatorApply().
657
658 @param op CeedOperator on which to provide the field
659 @param field_name Name of the field (to be matched with the name used by
660 CeedQFunction)
661 @param r CeedElemRestriction
662 @param b CeedBasis in which the field resides or @ref CEED_BASIS_COLLOCATED
663 if collocated with quadrature points
664 @param v CeedVector to be used by CeedOperator or @ref CEED_VECTOR_ACTIVE

--- 1011 unchanged lines hidden ---
658
659 @param op CeedOperator on which to provide the field
660 @param field_name Name of the field (to be matched with the name used by
661 CeedQFunction)
662 @param r CeedElemRestriction
663 @param b CeedBasis in which the field resides or @ref CEED_BASIS_COLLOCATED
664 if collocated with quadrature points
665 @param v CeedVector to be used by CeedOperator or @ref CEED_VECTOR_ACTIVE

--- 1011 unchanged lines hidden ---