Reference documentation for deal.II version Git abc1da1e07 2020-07-06 12:09:19 -0400
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Member Functions | List of all members
Functions::LSingularityGradFunction Class Reference

#include <deal.II/base/function_lib.h>

Inheritance diagram for Functions::LSingularityGradFunction:
[legend]

Public Member Functions

 LSingularityGradFunction ()
 
virtual double value (const Point< 2 > &p, const unsigned int component) const override
 
virtual void value_list (const std::vector< Point< 2 >> &points, std::vector< double > &values, const unsigned int component) const override
 
virtual void vector_value_list (const std::vector< Point< 2 >> &points, std::vector< Vector< double >> &values) const override
 
virtual Tensor< 1, 2 > gradient (const Point< 2 > &p, const unsigned int component) const override
 
virtual void gradient_list (const std::vector< Point< 2 >> &points, std::vector< Tensor< 1, 2 >> &gradients, const unsigned int component) const override
 
virtual void vector_gradient_list (const std::vector< Point< 2 >> &, std::vector< std::vector< Tensor< 1, 2 >>> &) const override
 
virtual double laplacian (const Point< 2 > &p, const unsigned int component) const override
 
virtual void laplacian_list (const std::vector< Point< 2 >> &points, std::vector< double > &values, const unsigned int component) const override
 
- Public Member Functions inherited from Function< 2 >
 Function (const unsigned int n_components=1, const time_type initial_time=0.0)
 
 Function (const Function &f)=default
 
virtual ~Function () override=0
 
Functionoperator= (const Function &f)
 
virtual double value (const Point< dim > &p, const unsigned int component=0) const
 
virtual void vector_value (const Point< dim > &p, Vector< double > &values) const
 
virtual void value_list (const std::vector< Point< dim >> &points, std::vector< double > &values, const unsigned int component=0) const
 
virtual void vector_value_list (const std::vector< Point< dim >> &points, std::vector< Vector< double >> &values) const
 
virtual void vector_values (const std::vector< Point< dim >> &points, std::vector< std::vector< double >> &values) const
 
virtual Tensor< 1, dim, doublegradient (const Point< dim > &p, const unsigned int component=0) const
 
virtual void vector_gradient (const Point< dim > &p, std::vector< Tensor< 1, dim, double >> &gradients) const
 
virtual void gradient_list (const std::vector< Point< dim >> &points, std::vector< Tensor< 1, dim, double >> &gradients, const unsigned int component=0) const
 
virtual void vector_gradients (const std::vector< Point< dim >> &points, std::vector< std::vector< Tensor< 1, dim, double >>> &gradients) const
 
virtual void vector_gradient_list (const std::vector< Point< dim >> &points, std::vector< std::vector< Tensor< 1, dim, double >>> &gradients) const
 
virtual double laplacian (const Point< dim > &p, const unsigned int component=0) const
 
virtual void vector_laplacian (const Point< dim > &p, Vector< double > &values) const
 
virtual void laplacian_list (const std::vector< Point< dim >> &points, std::vector< double > &values, const unsigned int component=0) const
 
virtual void vector_laplacian_list (const std::vector< Point< dim >> &points, std::vector< Vector< double >> &values) const
 
virtual SymmetricTensor< 2, dim, doublehessian (const Point< dim > &p, const unsigned int component=0) const
 
virtual void vector_hessian (const Point< dim > &p, std::vector< SymmetricTensor< 2, dim, double >> &values) const
 
virtual void hessian_list (const std::vector< Point< dim >> &points, std::vector< SymmetricTensor< 2, dim, double >> &values, const unsigned int component=0) const
 
virtual void vector_hessian_list (const std::vector< Point< dim >> &points, std::vector< std::vector< SymmetricTensor< 2, dim, double >>> &values) const
 
std::size_t memory_consumption () const
 
- Public Member Functions inherited from FunctionTime< Number >
 FunctionTime (const Number initial_time=Number(0.0))
 
virtual ~FunctionTime ()=default
 
Number get_time () const
 
virtual void set_time (const Number new_time)
 
virtual void advance_time (const Number delta_t)
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
 Subscriptor (Subscriptor &&) noexcept
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
Subscriptoroperator= (Subscriptor &&) noexcept
 
void subscribe (std::atomic< bool > *const validity, const std::string &identifier="") const
 
void unsubscribe (std::atomic< bool > *const validity, const std::string &identifier="") const
 
unsigned int n_subscriptions () const
 
template<typename StreamType >
void list_subscribers (StreamType &stream) const
 
void list_subscribers () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Additional Inherited Members

- Public Types inherited from Function< 2 >
using time_type = typename FunctionTime< typename numbers::NumberTraits< double >::real_type >::time_type
 
- Public Types inherited from FunctionTime< Number >
using time_type = Number
 
- Static Public Member Functions inherited from Subscriptor
static ::ExceptionBaseExcInUse (int arg1, std::string arg2, std::string arg3)
 
static ::ExceptionBaseExcNoSubscriber (std::string arg1, std::string arg2)
 
- Public Attributes inherited from Function< 2 >
const unsigned int n_components
 
- Static Public Attributes inherited from Function< 2 >
static const unsigned int dimension
 

Detailed Description

Gradient of the harmonic singularity on the L-shaped domain in 2D.

The gradient of LSingularityFunction, which is a vector valued function with vanishing curl and divergence.

Definition at line 441 of file function_lib.h.

Constructor & Destructor Documentation

◆ LSingularityGradFunction()

Functions::LSingularityGradFunction::LSingularityGradFunction ( )

Default constructor setting the dimension to 2.

Definition at line 1336 of file function_lib.cc.

Member Function Documentation

◆ value()

double Functions::LSingularityGradFunction::value ( const Point< 2 > &  p,
const unsigned int  component 
) const
overridevirtual

Definition at line 1342 of file function_lib.cc.

◆ value_list()

void Functions::LSingularityGradFunction::value_list ( const std::vector< Point< 2 >> &  points,
std::vector< double > &  values,
const unsigned int  component 
) const
overridevirtual

Definition at line 1360 of file function_lib.cc.

◆ vector_value_list()

void Functions::LSingularityGradFunction::vector_value_list ( const std::vector< Point< 2 >> &  points,
std::vector< Vector< double >> &  values 
) const
overridevirtual

Definition at line 1385 of file function_lib.cc.

◆ gradient()

Tensor< 1, 2 > Functions::LSingularityGradFunction::gradient ( const Point< 2 > &  p,
const unsigned int  component 
) const
overridevirtual

Definition at line 1434 of file function_lib.cc.

◆ gradient_list()

void Functions::LSingularityGradFunction::gradient_list ( const std::vector< Point< 2 >> &  points,
std::vector< Tensor< 1, 2 >> &  gradients,
const unsigned int  component 
) const
overridevirtual

Definition at line 1443 of file function_lib.cc.

◆ vector_gradient_list()

void Functions::LSingularityGradFunction::vector_gradient_list ( const std::vector< Point< 2 >> &  ,
std::vector< std::vector< Tensor< 1, 2 >>> &   
) const
overridevirtual

Definition at line 1453 of file function_lib.cc.

◆ laplacian()

double Functions::LSingularityGradFunction::laplacian ( const Point< 2 > &  p,
const unsigned int  component 
) const
overridevirtual

Definition at line 1412 of file function_lib.cc.

◆ laplacian_list()

void Functions::LSingularityGradFunction::laplacian_list ( const std::vector< Point< 2 >> &  points,
std::vector< double > &  values,
const unsigned int  component 
) const
overridevirtual

Definition at line 1420 of file function_lib.cc.


The documentation for this class was generated from the following files: