level_set.h
Go to the documentation of this file.
#ifndef _RHEOLEF_LEVEL_SET_H
#define _RHEOLEF_LEVEL_SET_H
//
// This file is part of Rheolef.
//
// Copyright (C) 2000-2009 Pierre Saramito <Pierre.Saramito@imag.fr>
//
// Rheolef is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// Rheolef 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 Rheolef; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// =========================================================================
namespace rheolef {
} // namespace rheolef
#include "rheolef/field.h"
namespace rheolef {
// [verbatim_level_set_option]
struct level_set_option {
bool split_to_triangle;
Float epsilon;
level_set_option()
: split_to_triangle(true),
epsilon(100*std::numeric_limits<Float>::epsilon())
{}
};
// [verbatim_level_set_option]
template <class T, class M>
geo_basic<T,M> level_set (
const field_basic<T,M>& fh,
const level_set_option& opt = level_set_option());
// backward compat:
using level_set_option_type = level_set_option;
} // namespace
#endif // _RHEOLEF_LEVEL_SET_H
rheolef::level_set
geo_basic< T, M > level_set(const field_basic< T, M > &fh, const level_set_option &opt)
Definition: level_set.cc:924
rheolef::level_set_option::epsilon
Float epsilon
Definition: level_set.h:68
rheolef::level_set_option
Definition: level_set.h:66
rheolef::level_set_option::level_set_option
level_set_option()
Definition: level_set.h:69
rheolef
This file is part of Rheolef.
Definition: compiler_eigen.h:37
Float
see the Float page for the full documentation
rheolef::level_set_option::split_to_triangle
bool split_to_triangle
Definition: level_set.h:67
rheolef::std
Definition: vec_expr_v2.h:391