Flow123d
jenkins-Flow123d-linux-release-multijob-282
|
#include <field_interpolated_p0.hh>
Public Types | |
typedef FieldAlgorithmBase < spacedim, Value >::Point | Point |
Public Types inherited from FieldAlgorithmBase< spacedim, Value > | |
typedef Space< spacedim >::Point | Point |
typedef Value | ValueType |
Public Member Functions | |
FieldInterpolatedP0 (unsigned int n_comp=0) | |
virtual void | init_from_input (const Input::Record &rec) |
bool | set_time (const TimeStep &time) override |
virtual Value::return_type const & | value (const Point &p, const ElementAccessor< spacedim > &elm) |
virtual void | value_list (const std::vector< Point > &point_list, const ElementAccessor< spacedim > &elm, std::vector< typename Value::return_type > &value_list) |
Public Member Functions inherited from FieldAlgorithmBase< spacedim, Value > | |
FieldAlgorithmBase (unsigned int n_comp=0) | |
virtual void | set_mesh (const Mesh *mesh, bool boundary_domain) |
void | set_component_idx (unsigned int idx) |
unsigned int | n_comp () const |
FieldResult | field_result () const |
virtual double | next_change_time () |
virtual | ~FieldAlgorithmBase () |
Static Public Member Functions | |
static Input::Type::Record | get_input_type (Input::Type::AbstractRecord &a_type, const typename Value::ElementInputType *eit) |
Static Public Member Functions inherited from FieldAlgorithmBase< spacedim, Value > | |
static std::string | template_name () |
static Input::Type::AbstractRecord | get_input_type (const typename Value::ElementInputType *element_input_type=nullptr) |
static std::shared_ptr < FieldAlgorithmBase< spacedim, Value > > | function_factory (const Input::AbstractRecord &rec, unsigned int n_comp=0) |
Static Public Attributes | |
static Input::Type::Record | input_type = FieldInterpolatedP0<spacedim, Value>::get_input_type(FieldAlgorithmBase<spacedim, Value>::input_type, NULL) |
Static Public Attributes inherited from FieldAlgorithmBase< spacedim, Value > | |
static const unsigned int | spacedim_ =spacedim |
static Input::Type::AbstractRecord | input_type |
Protected Attributes | |
Mesh * | source_mesh_ |
mesh, which is interpolated More... | |
FilePath | reader_file_ |
mesh reader file More... | |
std::shared_ptr< std::vector < typename Value::element_type > > | data_ |
Raw buffer of n_entities rows each containing Value::size() doubles. More... | |
std::vector< unsigned int > | searched_elements_ |
vector stored suspect elements in calculating the intersection More... | |
std::string | field_name_ |
field name read from input More... | |
BIHTree * | bih_tree_ |
tree of mesh elements More... | |
unsigned int | computed_elm_idx_ = numeric_limits<unsigned int>::max() |
stored index to last computed element More... | |
unsigned int | computed_elm_boundary_ |
stored flag if last computed element is boundary More... | |
TTetrahedron | tetrahedron_ |
3D (tetrahedron) element, used for computing intersection More... | |
TTriangle | triangle_ |
2D (triangle) element, used for computing intersection More... | |
TAbscissa | abscissa_ |
1D (abscissa) element, used for computing intersection More... | |
TPoint | point_ |
0D (point) element, used for computing intersection More... | |
Protected Attributes inherited from FieldAlgorithmBase< spacedim, Value > | |
TimeStep | time_ |
Actual time level; initial value is -infinity. More... | |
Value | value_ |
Last value, prevents passing large values (vectors) by value. More... | |
Value::return_type | r_value_ |
FieldResult | field_result_ |
Indicator of particular values (zero, one) constant over space. More... | |
unsigned int | component_idx_ |
Specify if the field is part of a MultiField and which component it is. More... | |
Copyright (C) 2007 Technical University of Liberec. All rights reserved.
Please make a following refer to Flow123d on your project site if you use the program for any purpose, especially for academic research: Flow123d, Research Centre: Advanced Remedial Technologies, Technical University of Liberec, Czech Republic
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 021110-1307, USA.
Definition at line 42 of file field_interpolated_p0.hh.
typedef FieldAlgorithmBase<spacedim, Value>::Point FieldInterpolatedP0< spacedim, Value >::Point |
Definition at line 45 of file field_interpolated_p0.hh.
FieldInterpolatedP0< spacedim, Value >::FieldInterpolatedP0 | ( | unsigned int | n_comp = 0 | ) |
Constructor
Definition at line 72 of file field_interpolated_p0.impl.hh.
|
static |
Definition at line 53 of file field_interpolated_p0.impl.hh.
|
virtual |
Initialization from the input interface.
Reimplemented from FieldAlgorithmBase< spacedim, Value >.
Definition at line 79 of file field_interpolated_p0.impl.hh.
|
overridevirtual |
Update time and possibly update data from GMSH file.
Reimplemented from FieldAlgorithmBase< spacedim, Value >.
Definition at line 102 of file field_interpolated_p0.impl.hh.
|
virtual |
Returns one value in one given point. ResultType can be used to avoid some costly calculation if the result is trivial.
Implements FieldAlgorithmBase< spacedim, Value >.
Definition at line 130 of file field_interpolated_p0.impl.hh.
|
virtual |
Returns std::vector of scalar values in several points at once.
Implements FieldAlgorithmBase< spacedim, Value >.
Definition at line 240 of file field_interpolated_p0.impl.hh.
|
protected |
1D (abscissa) element, used for computing intersection
Definition at line 112 of file field_interpolated_p0.hh.
|
protected |
tree of mesh elements
Definition at line 97 of file field_interpolated_p0.hh.
|
protected |
stored flag if last computed element is boundary
Definition at line 103 of file field_interpolated_p0.hh.
|
protected |
stored index to last computed element
Definition at line 100 of file field_interpolated_p0.hh.
|
protected |
Raw buffer of n_entities rows each containing Value::size() doubles.
Definition at line 88 of file field_interpolated_p0.hh.
|
protected |
field name read from input
Definition at line 94 of file field_interpolated_p0.hh.
|
static |
Declare Input type.
Copyright (C) 2007 Technical University of Liberec. All rights reserved.
Please make a following refer to Flow123d on your project site if you use the program for any purpose, especially for academic research: Flow123d, Research Centre: Advanced Remedial Technologies, Technical University of Liberec, Czech Republic
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 021110-1307, USA.
Definition at line 55 of file field_interpolated_p0.hh.
|
protected |
0D (point) element, used for computing intersection
Definition at line 115 of file field_interpolated_p0.hh.
|
protected |
mesh reader file
Definition at line 85 of file field_interpolated_p0.hh.
|
protected |
vector stored suspect elements in calculating the intersection
Definition at line 91 of file field_interpolated_p0.hh.
|
protected |
mesh, which is interpolated
Definition at line 82 of file field_interpolated_p0.hh.
|
protected |
3D (tetrahedron) element, used for computing intersection
Definition at line 106 of file field_interpolated_p0.hh.
|
protected |
2D (triangle) element, used for computing intersection
Definition at line 109 of file field_interpolated_p0.hh.