Flow123d  release_3.0.0-966-gb002c76
Classes | Functions
field_fe.hh File Reference
#include "petscmat.h"
#include "system/system.hh"
#include "fields/field_algo_base.hh"
#include "fields/fe_value_handler.hh"
#include "la/vector_mpi.hh"
#include "mesh/mesh.h"
#include "mesh/point.hh"
#include "mesh/bih_tree.hh"
#include "mesh/long_idx.hh"
#include "mesh/range_wrapper.hh"
#include "io/element_data_cache.hh"
#include "io/msh_basereader.hh"
#include "fem/fe_p.hh"
#include "fem/mapping_p1.hh"
#include "fem/fe_system.hh"
#include "fem/dofhandler.hh"
#include "fem/finite_element.hh"
#include "fem/dh_cell_accessor.hh"
#include "input/factory.hh"
#include <memory>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FieldFE< spacedim, Value >
 

Functions

template<int spacedim, class Value >
std::shared_ptr< FieldFE< spacedim, Value > > create_field (VectorMPI &vec_seq, Mesh &mesh, unsigned int n_comp)
 
template<int spacedim, class Value >
void fill_output_data (VectorMPI &vec_seq, std::shared_ptr< FieldFE< spacedim, Value > > field_ptr)
 

Detailed Description

 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

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. (http://www.gnu.org/licenses/gpl-3.0.en.html)

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.

Definition in file field_fe.hh.

Function Documentation

template<int spacedim, class Value >
std::shared_ptr<FieldFE<spacedim, Value> > create_field ( VectorMPI vec_seq,
Mesh mesh,
unsigned int  n_comp 
)

Method creates FieldFE of existing VectorMPI that represents elementwise field.

It's necessary to create new VectorMPI of FieldFE, because DOF handler has generally a different ordering than mesh. Then is need to call fill_output_data method.

Temporary solution that will be remove after solving issue 995.

Definition at line 246 of file field_fe.hh.

Here is the caller graph for this function:

template<int spacedim, class Value >
void fill_output_data ( VectorMPI vec_seq,
std::shared_ptr< FieldFE< spacedim, Value > >  field_ptr 
)

Fill data to VecSeqDouble in order corresponding with element DOFs.

Set data to data vector of field in correct order according to values of DOF handler indices.

Temporary solution that will be remove after solving issue 995.

Definition at line 309 of file field_fe.hh.

Here is the caller graph for this function: