<commit_before>/****************************************************************/
/*               DO NOT MODIFY THIS HEADER                      */
/* MOOSE - Multiphysics Object Oriented Simulation Environment  */
/*                                                              */
/*           (c) 2010 Battelle Energy Alliance, LLC             */
/*                   ALL RIGHTS RESERVED                        */
/*                                                              */
/*          Prepared by Battelle Energy Alliance, LLC           */
/*            Under Contract No. DE-AC07-05ID14517              */
/*            With the U. S. Department of Energy               */
/*                                                              */
/*            See COPYRIGHT for full restrictions               */
/****************************************************************/

#include "FluxBC.h"


template<>
InputParameters validParams<FluxBC>()
{
  InputParameters params = validParams<IntegratedBC>();
  return params;
}


FluxBC::FluxBC(const std::string & name, InputParameters params) :
    IntegratedBC(name, params)
{
}

FluxBC::~FluxBC()
{
}

Real
FluxBC::computeQpResidual()
{
  return computeQpFluxResidual() * _normals[_qp] * _test[_i][_qp];
}

Real
FluxBC::computeQpJacobian()
{
  return computeQpFluxJacobian() * _normals[_qp] * _test[_i][_qp];
}
<commit_msg>Fixing sign in FluxBC (refs #617)<commit_after>/****************************************************************/
/*               DO NOT MODIFY THIS HEADER                      */
/* MOOSE - Multiphysics Object Oriented Simulation Environment  */
/*                                                              */
/*           (c) 2010 Battelle Energy Alliance, LLC             */
/*                   ALL RIGHTS RESERVED                        */
/*                                                              */
/*          Prepared by Battelle Energy Alliance, LLC           */
/*            Under Contract No. DE-AC07-05ID14517              */
/*            With the U. S. Department of Energy               */
/*                                                              */
/*            See COPYRIGHT for full restrictions               */
/****************************************************************/

#include "FluxBC.h"


template<>
InputParameters validParams<FluxBC>()
{
  InputParameters params = validParams<IntegratedBC>();
  return params;
}


FluxBC::FluxBC(const std::string & name, InputParameters params) :
    IntegratedBC(name, params)
{
}

FluxBC::~FluxBC()
{
}

Real
FluxBC::computeQpResidual()
{
  return - computeQpFluxResidual() * _normals[_qp] * _test[_i][_qp];
}

Real
FluxBC::computeQpJacobian()
{
  return - computeQpFluxJacobian() * _normals[_qp] * _test[_i][_qp];
}

{'fraction_non_alphanumeric': 0.19018624641833812, 'fraction_numerical': 0.010386819484240688, 'mean_word_length': 1.553016453382084, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5494109', 'n_tokens_mistral': 717, 'n_tokens_neox': 668, 'n_words': 151}